Show WordPress template file in footer

Tracing the template file used by WordPress might be tricky at times.
The code below print the full path and name of the template file used by the viewed page.
If you get a top file, i.e. index.php, then check that file for calling theme parts.

Leave a Reply

Your email address will not be published. Required fields are marked *