Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
which template file icon

which template file

v5.2.0
by gilles66 · 5.0 (4 reviews)

Show the name of the php file of your theme used to display the current page.

4K+ active installs Updated Feb 02, 2025 Tested to 6.7.2 Requires PHP 5.6
Try Demo Download
Pre-installed Ready in ~10s No card

About which template file

This plugin helps you identify the template file being used to display your WordPress pages in the front end. It is easy to install and shows the file name in the admin bar, with different colors indicating if it's from the theme, parent theme, or a plugin.

Screenshots

which template file screenshot
which template file screenshot
which template file screenshot

Changelog

5.2.0

  • Compatibility with WP 6.7.1

5.0.0

  • Fix CSRF issue

4.9

  • Fix CSRF issue

4.8

  • Compatibility with WP 6.3.2

4.6

  • Compatibility with WP 5.8

4.3.0

  • Compatibility with WP 4.8.2

4.2.2

  • Compatibility with PHP < 5.3

4.2.1

  • Correction of an error in updating the plugin on v 4.2.0

4.2.0

  • Adding an option to chose if every logged user can see the template file in the admin-bar, or just the admnistrators of the website.
    (with administrator role)
    By default, just the administrators can.

4.1.1

  • Admin fix (the template name was added in the admin bar in the back-office too. Sorry for this)

4.1

  • Notice fix

4.0

  • Compatibility with WP 4.4.2
  • Bug fix for multi-sites
  • Display the name of the template now for all users with admin bar (not just admninistrators)
  • Different colors for the text regarding the origin of the template(the theme, a parent theme, or a plugin)

3.1

  • Compatibility with WP 4.1
  • Bug fix for child themes

3.0

  • Add the “title” attribute to see the whole path to the template file

2.1

  • Fixing a bug for non admin

2.0

  • Now the template name is shown in the admin bar just for the admin

1.4

  • Small css change (adding !important to the color of the text)

1.0

  • The first version
    Efficient and very easy to install, it will show you in the admin bar the name of the php file currently used to display the current page.
    The color of the text is different regarding the origin of the template(the theme, a parent theme, or a plugin)
    (icon author :http://www.megaicons.net/iconspack-1096/45043/)

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…