Check which template loading in WordPress site

Post Reads 25 reads

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.

Scroll to Top
%d bloggers like this: