What The File
View on WordPress.orgScores higher than 84% of indexed plugins
About
What The File is the best tool to find out what template parts are used to display the page you're currently viewing!
What It Does
What The File adds an admin bar menu on the front end of your WordPress site that lists every template part (header, page template, loop, footer, etc.) used to render the current page. Clicking any entry shows the exact file path and which theme directory it lives in, so you can jump straight from a live page to the source file you need to edit.
Who It's For
This plugin is built for theme developers, designers customising templates, and agencies debugging client builds who need to identify template files quickly without digging through theme directories. It is most useful on staging or development sites where rapid iteration on layouts is the norm.
Who Should Skip It
If you only publish content, run a simple blog, or never edit theme files, you will never open the admin bar menu and the plugin will just add clutter to your toolbar. Site owners on production sites who are not actively developing should also skip it, since it exposes internal file paths to anyone with admin access.
The Bottom Line
What The File does one thing and does it very well, earning a 4.9-out-of-5-equivalent rating from nearly 900 users and a current maintenance status as of February 2026. The lack of a public support forum is a minor concern, but for a developer tool this simple, that is rarely a dealbreaker. Recommended for anyone actively building or debugging WordPress themes on a staging site.
Related Plugins
Pick Query Monitor if you need a full developer dashboard covering database queries, hooks, PHP errors, and HTTP requests in addition to template detection.
Choose Show Current Template for a lighter, single-purpose template display in the admin bar if you want the same core feature with a 100,000-install track record.
Yoast Test Helper is a better fit if your debugging work centres on SEO schema and metadata rather than theme template files.
Phoenix Media Rename is the right tool when your real problem is renaming uploaded media files, not identifying templates.
Theme Editor makes more sense if you want a built-in style of editing files directly in the dashboard rather than just locating them.