New WordPress Debugging Plugin Displays Template File Info

The aptly named What Template File Am I Viewing? plugin is a new tool that you can use while theming and debugging WordPress. It will show you which template file is being used for the page you’re viewing.

There are no settings for the plugin. If you activate it, then it’s on. You’ll need to deactivate it to turn it off. You’ll get output at the top of your page to tell you what template file is being used on the page:

www.yourdomain.dev\wp-content\plugins\portfolio-grid/page-portfolio.php

If you’re using a new theme or you’re not sure how a plugin might be influencing your templates, simply install What Template File Am I Viewing? to point you in the right direction. It’s available for free from the WordPress plugin repository.