I hereby claim:
- I am dustinarmstrong on github.
- I am dustinarmstrong (https://keybase.io/dustinarmstrong) on keybase.
- I have a public key ASDZqEj0fE2d9AALSJwYVgd86jeuYvWdDTRNsk1U_f4RNQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$args = array ( | |
'pagination' => false, | |
'posts_per_page' => '3', | |
'ignore_sticky_posts' => true, | |
'post_type' => 'post', | |
'tax_query' => array( | |
array( | |
// Specifies post-format taxonomy type | |
'taxonomy' => 'post_format', | |
'field' => 'slug', |
/* Generates current template file name - For debugging only! */ | |
add_filter( 'template_include', 'var_template_include', 1000 ); | |
function var_template_include( $t ){ | |
$GLOBALS['current_theme_template'] = basename($t); | |
return $t; | |
} | |
function get_current_template( $echo = false ) { | |
if( !isset( $GLOBALS['current_theme_template'] ) ) | |
return false; |