neilgee
4/15/2014 - 11:38 PM

Show WordPress Template Being Used

Show WordPress Template Being Used

<?php
//Show Wordpress template to logged in user down at the bottom
    function show_template() { 
        global $template;
        print_r( $template );
    }

    add_action( 'admin_bar_menu', 'show_template' );