Title: Show Current Template
Author: JOTAKI, Taisuke
Published: <strong>2013年5月23日</strong>
Last modified: 2026年1月17日

---

搜尋外掛

![](https://ps.w.org/show-current-template/assets/icon.svg?rev=2955632)

# Show Current Template

 由[JOTAKI, Taisuke](https://profiles.wordpress.org/tai/)

[下載](https://downloads.wordpress.org/plugin/show-current-template.0.5.4.zip)

 * [詳情](https://zh-hk.wordpress.org/plugins/show-current-template/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/show-current-template/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/show-current-template/#installation)
 * [開發](https://zh-hk.wordpress.org/plugins/show-current-template/#developers)

 [支援](https://wordpress.org/support/plugin/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. If you like this plugin,
[you can buy me a coffee! 😉](https://wp.tekapo.com/is-my-plugin-useful/)

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

## 常見問題

### 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.

## 評價

![](https://secure.gravatar.com/avatar/8c027130d9e0a90df77585124140dd72a5aa536596cb007246527170cefe5a22?
s=60&d=retro&r=g)

### 󠀁[Awesome!!!](https://wordpress.org/support/topic/awesome-10592/)󠁿

 [Md Abdullah Al Fahad](https://profiles.wordpress.org/mabfahad/) 2025年10月25日

Awesome!!! It’s really a useful plugin for the developers. Must have plugin for 
the development mode.

![](https://secure.gravatar.com/avatar/ef4e57f6a4f7ff50c245b108b6b183f317fc0e298b64690b104d2c22808e2b13?
s=60&d=retro&r=g)

### 󠀁[Helpful for development](https://wordpress.org/support/topic/helpful-for-development-2/)󠁿

 [macurious](https://profiles.wordpress.org/macurious/) 2024年11月12日

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

![](https://secure.gravatar.com/avatar/d57abcc20d999077d0a85bff0d44687a40c4b417289ba7a2a9ad6cd1d4f51856?
s=60&d=retro&r=g)

### 󠀁[Useful in wp development.](https://wordpress.org/support/topic/useful-in-wp-development/)󠁿

 [ngwebdev](https://profiles.wordpress.org/ngwebdev/) 2024年5月12日

Thank you. This plugin is useful in WP Development. 5 stars!

![](https://secure.gravatar.com/avatar/20506a1ccdc71c519e2c283cdbfb52eddfc8a18d10b5934b175769b15e01ccfb?
s=60&d=retro&r=g)

### 󠀁[must-have for development work](https://wordpress.org/support/topic/must-have-for-development-work/)󠁿

 [shayakraut](https://profiles.wordpress.org/shayakraut/) 2022年4月25日

A must-have for WordPress development work.

![](https://secure.gravatar.com/avatar/46ebe12815d225ea1ee02e1268e6d3b9c3dc5e921ce038eb1d240d70a858f64f?
s=60&d=retro&r=g)

### 󠀁[Very Useful](https://wordpress.org/support/topic/very-useful-2944/)󠁿

 [Alex F. Pradas](https://profiles.wordpress.org/alexpradas/) 2022年2月23日

Straight to the point. Very useful for theme development.

![](https://secure.gravatar.com/avatar/18d13aacf79b3a973b657debebf006437fa0b9d55ed96b211411fcca0e5e1244?
s=60&d=retro&r=g)

### 󠀁[useful and uncomplicated](https://wordpress.org/support/topic/useful-and-uncomplicated/)󠁿

 [camillo1](https://profiles.wordpress.org/camillo1/) 2021年8月31日 1 reply

useful and works uncomplicated. Well done.

 [ 閱讀全部71個評價 ](https://wordpress.org/support/plugin/show-current-template/reviews/)

## 貢獻者及開發者

“Show Current Template” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

 *   [ JOTAKI, Taisuke ](https://profiles.wordpress.org/tai/)

Show Current Template 外掛目前已有 18 個本地化語言版本。 感謝[所有譯者](https://translate.wordpress.org/projects/wp-plugins/show-current-template/contributors)
為這個外掛做出的貢獻。

[將 Show Current Template 外掛本地化為台灣繁體中文版。](https://translate.wordpress.org/projects/wp-plugins/show-current-template)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/show-current-template/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/show-current-template/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/show-current-template/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/show-current-template/)。

## 修改日誌

#### 0.5.4

 * Fix: Fix PHP Warning. Special thanks 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 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 **0.5.4**
 *  Last updated **3 個月之前**
 *  Active installations **100,000+**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/show-current-template/)、
   [Dutch](https://nl.wordpress.org/plugins/show-current-template/)、[Dutch (Belgium)](https://nl-be.wordpress.org/plugins/show-current-template/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/show-current-template/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/show-current-template/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/show-current-template/)、[English (US)](https://wordpress.org/plugins/show-current-template/)、
   [French (France)](https://fr.wordpress.org/plugins/show-current-template/)、[Galician](https://gl.wordpress.org/plugins/show-current-template/)、
   [German](https://de.wordpress.org/plugins/show-current-template/)、[Italian](https://it.wordpress.org/plugins/show-current-template/)、
   [Japanese](https://ja.wordpress.org/plugins/show-current-template/)、[Russian](https://ru.wordpress.org/plugins/show-current-template/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/show-current-template/)、[Spanish (Colombia)](https://es-co.wordpress.org/plugins/show-current-template/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/show-current-template/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/show-current-template/)、[Spanish (Venezuela)](https://ve.wordpress.org/plugins/show-current-template/)、
   及 [Swedish](https://sv.wordpress.org/plugins/show-current-template/).
 *  [翻譯成你的語言](https://translate.wordpress.org/projects/wp-plugins/show-current-template)
 * Tags
 * [template](https://zh-hk.wordpress.org/plugins/tags/template/)[toolbar](https://zh-hk.wordpress.org/plugins/tags/toolbar/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/show-current-template/advanced/)

## 評分

 5 out of 5 stars.

 *  [  69 5-star reviews     ](https://wordpress.org/support/plugin/show-current-template/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/show-current-template/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/show-current-template/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/show-current-template/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/show-current-template/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/show-current-template/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/show-current-template/reviews/)

## 貢獻者

 *   [ JOTAKI, Taisuke ](https://profiles.wordpress.org/tai/)

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/show-current-template/)

## 捐贈

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://wp.tekapo.com/is-my-plugin-useful/)