Horje

Method-1: Output which theme template file a post/page is using in the header

Just copy and paste following codes to yourdomain.com/wp-content/themes/activated-theme/fucntions.php in the most below.
Example: PHP
add_action('wp_head', 'show_template');
function show_template() {
    global $template;
    print_r($template);
}



Single Articles
Method-1: Output which theme template file a post/page is using in the headerWordpress Header Footer Shortcode
thenWordpress Header Footer Shortcode


Related Articles
How to Output which theme template file a post/page is using in the header Wordpress Header Footer Shortcode

Type:
Php
Category:
Web Tutorial
Sub Category:
Wordpress Header Footer Shortcode
Uploaded by:
Admin