BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
What The File icon
Maintained Tested up to 6.9.9 #881 most installed plugin #3 in development

What The File

What The File is the best tool to find out what template parts are used to display the page you're currently viewing!

Active installs40K+10K+ tier
Downloads · 30d3.9K▲ +3.1% vs prev. 30d
Rating4.9/5882 reviews
Health score63/100Good
All-time downloads613.1KSince Aug 2012
Support resolved—No recent threads
RequiresWP 3.1PHP 5.3+
Overall rank#881of 69,475 plugins
Our verdict

Solid choice

What The File is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40K+ sites, is rated 4.9/5 and was last updated 7 months ago, and scores 63/100 on our health check.

  • Proven at scale on 40K+ active sites
  • Loved by users — 4.9/5 from 882 reviews
  • Only tested up to WordPress 6.9 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

61123185Jun 28Aug 11Sep 25
Yesterday179
Daily average (1y)143
Peak day5,337Feb 20, 2026
Last 12 months52.1K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where What The File stands today
Overall popularity #881 of 69,475 WordPress.org plugins Top 1%
10K+ installs tier 91 of 210+
Next tier: 50K+ installs
Development #3 of 167 plugins → File #4 of 67 plugins → Template #3 of 185 plugins → Template editing #1 of 1 plugins → Toolbar #2 of 109 plugins →

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
development #28 7,439 Best development plugins →
file #10 10,000 Best file plugins →
template #94 10,000 Best template plugins →
template editing #7 2,881 Best template editing plugins →
toolbar #31 2,007 Best toolbar plugins →

Version adoption

Share of active sites per release.

  • 1.681.0%
  • 1.518.6%
  • 1.40.34%

Rating breakdown

★★★★★★★★★★ 4.9 from 882 reviews

  • 5★93.8%
  • 4★4.2%
  • 3★0.70%
  • 2★0.50%
  • 1★0.90%

About What The File

From the official readme · v1.6.1

Description

What The File adds an option to your toolbar showing what file and template parts are used to display the page you’re currently viewing.

You can click the file name to directly edit it through the theme editor, though I don’t recommend this for bigger changes.

What The File supports BuddyPress and Roots Theme based themes.

More information can be found here.

Looking for a great related posts plugin for WordPress?

Another plugin I’ve built, that I’m very proud of is Related Posts for WordPress. Related Posts for WordPress offers you the ability to link related posts to each other with just 1 click! And it’s 100% free! Check it out on the WordPress repository.

Installation

  1. Upload what-the-file to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Frequently asked questions

Where can I see what template file is used?

In the toolbar you will find the “What The File” option. Hovering this option will display the currently used template file, clicking the template file name will allow you to edit the template file with the WordPress file editor. Please note that some BuddyPress files can’t be edited in the WordPress editor.

I can’t find the “What The File” option in the toolbar

You have to be an Administrator to see the “What The File” option.

What PHP version are supported / tested?

What The File works supports starts at PHP 5.3 and is tested on every major release up until PHP 8.1.

Does What The File supports BuddyPress

Yes it does.

Does What The File supports Roots Theme

Yes it does.

You saved me so much time, is there any way I can thank you?

Glad to hear I could help you! You can thank me in various ways, please see my donation page to find out more.

Changelog

1.6.1: December 19, 2025

  • Tweak: Tested with the latest version of WP and meta update.

1.6.0: September 19, 2022

  • Feature: Now correctly working with the wp_body_open tag. Full template part support is back.
  • Tweak: Used proper add_site_option argument count. props @szepeviktor
  • Tweak: Optimized file editing allowed function. props @szepeviktor
  • Tweak: Change template_include priority from 1000 to PHP_INT_MAX for wider support. props @greenshady
  • Tweak: Version and meta update.

1.5.4: October 8, 2017

  • Version and meta update.

1.5.3: May 2, 2016

  • Appended an extra check for the Sage starter theme, props remyvv.

1.5.2

  • Fixed a CSS bug with admin bar.

1.5.1

  • Fixed a bug where some themes make all images display block.

Full changelog on WordPress.org →

Screenshots

What The File shows you what template file is used.
What The File shows you what template file is used.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best What The File alternatives

All development plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Query Monitor Query Monitor Query Monitor is the developer tools panel for WordPress and WooCommerce. by John Blackbourn 200K+ ★★★★★★★★★★ 4.9 (469) 3 months ago 71
2 Yoast Test Helper Yoast Test Helper This plugin makes testing Yoast SEO, Yoast SEO add-ons and integrations and resetting the… by Yoast 60K+ ★★★★★★★★★★ 4.9 (12) 1 month ago 82
4 Stop Emails Stop Emails Stop all outgoing emails sent from WordPress. by Sal Ferrarello 5K+ ★★★★★★★★★★ 5 (12) 9 months ago 56
5 Monkeyman Rewrite Analyzer Monkeyman Rewrite Analyzer Making sense of the rewrite mess. Display and play with your rewrite rules. by Jan Fabry 1K+ ★★★★★★★★★★ 5 (26) 15 years ago 44
6 WP Secure Maintenance WP Secure Maintenance Want to lock your site for Maintenance or Development? Then this is the right Plugin by Saad Iqbal 1K+ ★★★★★★★★★★ 3.6 (5) 2 years ago 33
7 Display Environment Type Display Environment Type Displays WordPress 5.5's environment type setting in the admin bar and the "At a Glance"… by Stoil Dobreff 1K+ ★★★★★★★★★★ 5 (4) 9 months ago 49
8 What Template What Template Adds the current page's template name to the admin bar. by Brian Alexander 1K+ ★★★★★★★★★★ 5 (3) 2 years ago 34
9 WP PHP Console WP PHP Console An implementation of PHP Console as a WordPress plugin. Use Chrome Dev Tools to debug your… by Fulvio Notarstefano 500+ ★★★★★★★★★★ 4.7 (19) 6 years ago 38
10 Ray Ray Easily debug WordPress sites using Ray. by freekmurze 400+ ★★★★★★★★★★ 5 (10) 10 months ago 54
11 Admin Bar Tools Admin Bar Tools Adds some small development tools to the admin bar. by Grégory Viguier 300+ ★★★★★★★★★★ 4.8 (8) 6 years ago 37

FAQ

What The File: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 26, 2026

Is What The File free?

Yes. What The File is free to download and use from the official WordPress.org plugin directory.

Is What The File safe to use in 2026?

What The File is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40K+ sites, is rated 4.9/5 and was last updated 7 months ago, and scores 63/100 on our health check.

How many websites use What The File?

What The File is active on 40K+ WordPress websites and has been downloaded 613,113 times since it launched in August 2012. It was downloaded 3,883 times in the last 30 days.

Does What The File work with WordPress 7.1?

What The File is officially tested up to WordPress 6.9.9, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does What The File need?

What The File requires PHP 5.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was What The File last updated?

The latest version, 1.6.1, was released on February 19, 2026 (7 months ago).

Who makes What The File?

What The File is developed and maintained by Barry Kooij.

What are the best alternatives to What The File?

The most popular alternatives to What The File are Query Monitor (200K+ installs), Yoast Test Helper (60K+ installs) and Stop Emails (5K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.