sandywp / plugins / show-current-template

Show Current Template

5.0 out of 5 stars. 5.0 71 reviews

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

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v0.5.4 100,000+ installs WP 5.9+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
Show Current Template running inside a SandyWP sandbox

What you get inside

1 screen
  • Shows the current template file.

About this plugin

A WordPress plugin which shows the current template file name, the current theme name and included template files’ name in the tool bar. If you like this plugin, you can buy me a coffee! 😉

Inspired by (and big thanks to):

  • https://gist.github.com/gatespace/4482529
  • https://wordpress.org/plugins/reveal-template/

Questions

Does this plugin work with block themes?

No. This plugin is useless when using block themes, and it shows a message that this plugin is useless when using block themes.

I don’t see the toolbar.

Is the Toolbar (Show Toolbar when viewing site) option in your profile page is checked?
You can find your profile page is in your WordPress admin -> Users -> Profile.

I don’t see the current template file name in the toolbar.

Do you logged in as “Administrator”? Other role users like “Editor” can’t see the file name. If your WordPress is multisite, only super admin can see the file name.

I don’t think this plugin is working properly.

Please try below:

  • Activate one of the default themes.

Now the plugin work properly? Then it means there may be a compatibility issue between your theme and this plugin, so let me know your theme’s name and where I can get it.

  • Try to stop all plugins other than this plugin.

Now the plugin work properly? Then it means there may be a compatibility issue between one of those other plugins and this plugin, so let me know those plugins names and where I can get them.

5.0

71 reviews

  • 5 ★ 69
  • 4 ★ 1
  • 3 ★ 1
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

  • Template Kit – Import

    3.4 · 400K+ installs

    Use this plugin to import Template Kits to WordPress

  • What The File

    4.9 · 40K+ installs

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

  • Custom Field Template

    4.0 · 30K+ installs

    The Custom Field Template plugin extends the functionality of custom fields.

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.