Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Show Current Template

by JOTAKI, Taisuke

Version: 0.5.3

Download
Description

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/

The Good Way

  1. In your WordPress Admin, go to the Add New Plugins page
  2. Search for: Show Current Template
  3. Show Current Template should be the first result. Click the Install link.

The Old Way

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

    Shows the current template file.

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’dont 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.

Helpful for development

By macurious on November 12, 2024

Supports your own theme development or template localisation on client websites.

Useful in wp development.

By ngwebdev on May 12, 2024

Thank you.

This plugin is useful in WP Development. 5 stars!

must-have for development work

By shayakraut on April 25, 2022

A must-have for WordPress development work.

Very Useful

By Alex F. Pradas (alexpradas) on February 23, 2022

Straight to the point. Very useful for theme development.

useful and uncomplicated

By camillo1 on August 31, 2021

useful and works uncomplicated. Well done.

OMG so useful!

By rmt577 on August 15, 2021

Amazing plugin! Does exactly what it says, which is so useful for trying to work out which php file needs to be tweaked.

Excellent

By maxwellss on June 26, 2021

Does what it says on the box. Works with no glitches. thanks.

Really useful developing tool

By mattalign on March 14, 2021

Super simple plugin which works perfectly. One of my go to plugins for developing.

This is one of my favorites!

By Jesse Magee (legacybank) on February 5, 2021

This is an amazing plugin to have while learning the WP Template Hierarchy! This has my recommendation!

Shows current Template as claimed!

By Zephyrinus Rodrigues (zephyrr) on December 27, 2020

I love this plugin! It works very well and shows the WP Template file being used to render a particular webpage. My only gripe is that it is poorly documented. I had almost given up but this article by @lukefive which tells you how to enable the admin bar on the viewed page helped me get it working. Thank you.

0.5.3

  • Fix: Addressed PHP 8.x deprecation warning for passing null to parameter #3 ($subject) of str_replace(). Special thanks to @rembem for reporting the issue!

0.5.2

  • Update required WordPress version to 5.9. Special thanks to @dmchale for reporting the issue!

0.5.1

  • Delete unnecessary files.

0.5.0

  • Display a message that this plugin is useless when using block themes.
  • Remove stray language file. Special thanks to @szepeviktor for reporting the issue!

0.4.6

  • Fix JS Error when No Admin Bar. Special thanks to @taupecat for reporting the issue!

0.4.5

  • Fix showing included files at bottom when your WordPress site is multisite and you are a normal admin (not super admin). Special thanks to @dmchale for reporting the issue!

0.4.4

  • Fix not showing included files on Windows local. Special thanks to @lindt01 for helping me identify the cause!

0.4.3

  • Fix the JavaScript error reported by @flexer. Special thanks to @dmchale for the fix!

0.4.2

  • Fix showing included files at bottom when the logged in user’s roles other than admin.

0.4.1

  • Fix showing included files at bottom when visitor visits the site. This issue was reported by @tsato. Thank you very much!

0.4.0

  • Fix not showing all included files with WordPress version 5.4 or greater.
  • Clean up some code.

0.3.4

  • No functional change at all except the version number in the plugin php file and donation url.

0.3.3

  • No functional change at all except the version number in the plugin php file and donation url.

0.3.2

  • No change at all except the version number in the plugin php file.

0.3.1

  • Just add a donate link.

0.3.0

  • UPDATED: Make the file list scrollable.
  • UPDATED: Change css to sass.

0.2.2

  • Oops, too short.

0.2.1

  • UPDATED: Make the height of included files names shorter

0.1.8

  • UPDATED: update for 3.8.

0.1.6

  • FIXED: update for 3.8.

0.1.5

  • FIXED: Fixed the issue of not displaying the parent theme name when using a child theme.

0.1.4

  • UPDATED: Make not to show the current file in the included files list.

0.1.3

  • FIXED: Fixed some notices.

0.1.2

  • FIXED: Fixed potential conflict text domain (https://github.com/tekapo/show-current-template/pull/1).
    Thanks to @wokamoto san.

0.1.1

  • UPDATED: readme.txt

0.1.0

  • Initial release
  • Version:Version: 0.5.3
  • Active installs:Active installs: 100K
  • Last updated:Last updated: 1 month ago
  • Requires:Requires: 5.9
  • Tested:Tested: 6.8.2
Average rating:5 out of 5 stars.
  • Number of ratings: 68 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
Back to top