Type to search.

#890 by installs

What The File

by Barry KooijVersion 1.6.1

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

Active installs
40,000+
#890 of 1,000
Downloads, all time
618.4K
618,439
Downloads, 30 days
4.8K
1.3K in the last 7
Rating
4.9 / 5
883 reviews
Last updated
8 months ago
Feb 19, 2026
Version
1.6.1
22 releases

Upkeep and compatibility

Last updatedFebruary 19, 2026Updated in the last year
Tested up toWordPress 6.9.11Older than WordPress 7.1.4, the current release
Needs WordPress3.1 or newer
Needs PHP5.3 or newer
First publishedAugust 26, 2012
Support, last two monthsNo threads opened

Reviews

4.9 / 5 from 883 reviews

Reviews by star rating
5 stars828
4 stars37
3 stars6
2 stars4
1 star8

Downloads, last 30 days

Low 54 a dayHigh 432 a day

What the author says it does

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.

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

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.

Latest changelog entry

1.6.1: December 19, 2025

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

Screenshots

From WordPress.org.

Tagged

Plugins that share its tags

#350 by installs

Show Current Template

by JOTAKI, Taisuke

A WordPress plugin which shows the current template file name, the current theme name and included template files' name in the tool bar.

Installs
100,000+
Rating
5.0 (71)
Updated
2 months ago

#150 by installs

Template Kit – Import

by envato

Use this plugin to import Template Kits to WordPress

Installs
400,000+
Rating
3.4 (16)
Updated
44 days ago

#241 by installs

Query Monitor

by John Blackbourn

Query Monitor is the developer tools panel for WordPress and WooCommerce.

Installs
200,000+
Rating
4.9 (470)
Updated
4 days ago

#695 by installs

Yoast Test Helper

by Yoast

This plugin makes testing Yoast SEO, Yoast SEO add-ons and integrations and resetting the different features a lot easier.

Installs
50,000+
Rating
4.9 (12)
Updated
25 days ago

#750 by installs

Phoenix Media Rename

by crossi72

The Phoenix Media Rename plugin allows you to easily rename (and retitle) your media files, once uploaded.

Installs
50,000+
Rating
4.7 (75)
Updated
2 days ago

#757 by installs

Theme Editor

by mndpsingh287

Theme Editor allows you to edit theme files, create folder, upload files and remove any file and folder in themes and plugins.

Installs
50,000+
Rating
4.6 (128)
Updated
7 months ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.