Created
January 31, 2014 15:40
-
-
Save cdils/8734447 to your computer and use it in GitHub Desktop.
Figure out what template file is being used. Don't use on live sites. :)
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
<?php //remove opening tag | |
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