Check which template loading in WordPress site

Below is the simple function which you can use for debugging the site. It  display the template file path of the current page. Like below image:

Add below code snippet into your themes functions.php file.

Advertisements

Author: maheshwaghmare

WordPress Developer since 2012.