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.

Inspired by (and big thanks to):

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

螢幕擷圖

  • Shows the current template file.

安裝方式

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

常見問題集

None so far.

使用者評論

Does not display for all users

Not seeing the template info? In the WordPress admin area, under Users, find the entry for the administrative login you are using. Click the edit link. Look for a checkbox named Toolbar. Make sure that is checked/enabled and the setting is saved (Update Profile). You should now see the template info, assuming you are visiting the site with the same browser you used to log into the sites's WordPress admin. You can do this by having different tabs open in the browser. This is not mentioned in the plugin FAQ. Otherwise, this plugin displays the template information as advertised. It can be very useful for tracking down obscure PHP problems inside template files.

great one

this is a mandatory plugin for me, i develop all my themes with it and i don't wanna live without it ❤️

Fantastic Plugin

If you want to edit any theme, then you should get this plugin. It shows you which template file is used for the page you are watching. That way you will always know what template file to edit in your child theme. Great and thanks a lot!
閱讀全部 53 則使用者評論

參與者及開發者

Show Current Template 外掛為開源軟體。以下人員為這個外掛做出了重大貢獻。

參與者

Show Current Template 外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Show Current Template 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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