Created
January 28, 2014 17:35
-
-
Save jordancalder/8672286 to your computer and use it in GitHub Desktop.
Wordpress - Display Current Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add to functions.php | |
add_action('wp_head', 'show_template'); | |
function show_template() { | |
global $template; | |
print_r($template); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment