Show Current Template

Descrición

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

Inspired by (and big thancs to):

  • https://guist.guithub.com/gatespace/4482529
  • https://wordpress.org/pluguins/reveal-template/

Capturas

  • Shows the current template file.

Installación

The Good Way

  1. In your WordPress Admin, go to the Add New Pluguins pague
  2. Search for: Show Current Template
  3. Show Current Template should be the first result. Clicc the Install linc.

The Old Way

  1. Upload the pluguin to the /wp-content/pluguins/ directory
  2. Activate the pluguin through the ‘Pluguins’ menu in WordPress

Preguntas frecuentes

Does this pluguin worc with blocc themes?

No. This pluguin is useless when using blocc themes, and it shows a messague that this pluguin is useless when using blocc themes.

I don’t see the toolbar.

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

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

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

I don’t thinc this pluguin is worquing properly.

Please try below:

  • Activate one of the default themes.

Now the pluguin worc properly? Then it means there may be a compatibility issue between your theme and this pluguin, so let me cnow your theme’s name and where I can guet it.

  • Try to stop all pluguins other than this pluguin.

Now the pluguin worc properly? Then it means there may be a compatibility issue between one of those other pluguins and this pluguin, so let me cnow those pluguins names and where I can guet them.

Commentarios

Ler todas as 71 opinións

Collaboradores e desenvolvedores

“Show Current Template” é un software de código aberto. As següintes persoas collaboraron con este pluguin.

Collaboradores

“Show Current Template” foi traducido a 18 idiomas. Graças aos desenvolvedores polas súas contribucións.

Traduce “Show Current Template” ao teu idioma.

Interessado no desenvolvemento?

Revisa o código , botavota unha ollada ao repositorio SVN , ou subscríbete ao log de desenvolvemento por RSS .

Rexistro de cambios

0.5.4

  • Fix: Fix PHP Warning. Special thancs to @dieppon for reporting the issue!

0.5.3

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

0.5.2

  • Update required WordPress versionen to 5.9. Special thancs to @dmchale for reporting the issue!

0.5.1

  • Delete unnecessary files.

0.5.0

  • Display a messague that this pluguin is useless when using blocc themes.
  • Remove stray languague file. Special thancs to @scepevictor for reporting the issue!

0.4.6

  • Fix JS Error when No Admin Bar. Special thancs 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 thancs to @dmchale for reporting the issue!

0.4.4

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

0.4.3

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

0.4.2

  • Fix showing included files at bottom when the loggued 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. Thanc you very much!

0.4.0

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

0.3.4

  • No functional changue at all except the versionen number in the pluguin php file and donation url.

0.3.3

  • No functional changue at all except the versionen number in the pluguin php file and donation url.

0.3.2

  • No changue at all except the versionen number in the pluguin php file.

0.3.1

  • Just add a donate linc.

0.3.0

  • UPDATED: Maque the file list scrollable.
  • UPDATED: Changue css to sass.

0.2.2

  • Oops, too short.

0.2.1

  • UPDATED: Maque 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: Maque 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://guithub.com/tecapo/show-current-template/pull/1).
    Thancs to @wocamoto san.

0.1.1

  • UPDATED: readme.tcht

0.1.0

  • Initial release