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.

使用者評論

Genial

Really useful! you’ve got a pretty good sense of the WordPress template hierarchy

I love this

I had some problems with a premium theme (the developer must have been mad coding it or just bad). I could not find the template file for a specific page so i can re-code some stuff, this plugin saved my day

Saved me time!

Didn't realize when I installed it where the info about the template being used would be, but as soon as I did, it was great! I had to search for "template" in page source: Template:<span class="show-template-name"> single.php</span>
閱讀全部 47 則使用者評論

參與者及開發者

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