Quickly find which WordPress template is in use
If you quickly want to find out which template is currently in use by a specific page, you can just add this little code snippet in your theme functions.php file:
function find_template() { if ( is_super_admin() ) { global $template; print_r( $template ); } } add_action( 'wp_footer', 'find_template' );
That’s it! Make sure you are logged in, then look at bottom of your website and you will see the path to the WordPress template file which is being used on the current page.