sandywp / plugins / show-current-template
Show Current Template
A WordPress plugin which shows the current template file name, the current theme name and included template files' name in the tool bar.
Ready in seconds.
v0.5.4 100,000+ installs WP 5.9+ PHP 7.4+

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.
sandywp / also on the shelf
Try another plugin
3.4 · 400K+ installs
Use this plugin to import Template Kits to WordPress
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!
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.