Title: Theme Inspector
Author: Melissa Cabral
Published: <strong>2015 年 12 月 11 日</strong>
Last modified: 2023 年 2 月 13 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/theme-inspector/assets/icon-256x256.png?rev=1305896)

# Theme Inspector

 由 [Melissa Cabral](https://profiles.wordpress.org/melissa-cabral/) 開發

[下載](https://downloads.wordpress.org/plugin/theme-inspector.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/theme-inspector/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/theme-inspector/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/theme-inspector/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/theme-inspector/#developers)

 [技術支援](https://wordpress.org/support/plugin/theme-inspector/)

## 外掛說明

A simple, lightweight plugin that displays useful technical information on pages
and posts to aid in developing WordPress Classic themes. Provides quick access to
things that are sometimes hidden, like post/page ID, slug, taxonomy terms, and post
type slug. Theme Inspector tells you exactly what conditional tags are true on each
view, and what template file loaded on each page view.

 * Use In Conjunction with the [WP Template Hierarchy Document](https://docs.google.com/drawings/d/1hJ0MpHO3HKBT5KsTpGtc_gDYZ5pi-HyxNcRtmPBBULE).
 * Theme Inspector is only visible to logged in Administrators.
 * Appears on the right-side of the Toolbar (admin bar).

## 安裝方式

 1. Simply unzip and upload to the wp-content/plugins’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. There’s nothing to configure. Theme Inspector will automatically appear when you
    view your website as an Administrator. Look at the upper-right corner of the Toolbar(“
    Admin Bar”).
 4. Hover over “Theme Inspector” for a flyout-panel containing information about the
    page you are currently viewing.

## 常見問題集

### I don’t see Theme Inspector! Where is it?

You must be logged in as an administrator, and viewing the Site (not the admin panel).
It will appear on the admin bar.

## 使用者評論

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

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-4319/)󠁿

 [webstpro](https://profiles.wordpress.org/webstpro/) 2025 年 3 月 1 日

Documentation says Theme Inspecor appears on right side when viewing web page as
Admin. It is the light blue color with no text so it is not obvious that you need
to click to use the theme builder.

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

### 󠀁[Looks Helpful, no RTL support](https://wordpress.org/support/topic/looks-helpful-no-rtl-support/)󠁿

 [ibanner](https://profiles.wordpress.org/ibanner/) 2021 年 2 月 16 日

This plugin looks like something I’ve been looking for, for quite some time. However
it seems it doesn’t play well with RTL sites. The popup with the info is aligned
to the right side of the admin bar button, with causes some of the info to disappear
out of view. I would be more than willing to reconsider my rating if this issue 
is solved.

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

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

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

Very useful

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

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

 [maxbrandl18](https://profiles.wordpress.org/maxbrandl18/) 2019 年 3 月 4 日

Awesome! Still works (with 4.9.8) Thx

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

### 󠀁[Fantastic Tool!](https://wordpress.org/support/topic/fantastic-tool-67/)󠁿

 [chzumbrunnen](https://profiles.wordpress.org/chzumbrunnen/) 2018 年 9 月 18 日

Not only does it show the currently active template file (what some other plugins
do too), but it shows where in the template hierarchy it is. Therefor it’s very 
easy to know what template file to edit / replace in a child theme. Also it shows
the post type, post id, true conditions… It’s a fantastic developer tool and I highly
recommend it Too sad that this plugin isn’t that well known. It’s the best of it’s
kind in my humble opinion.

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

### 󠀁[Thank you for such a helpful plugin](https://wordpress.org/support/topic/thank-you-for-such-a-helpful-plugin/)󠁿

 [wp-newbee](https://profiles.wordpress.org/wp-newbee/) 2017 年 9 月 19 日

Thank you for such a helpful plugin . It works beautifully and make the developer
much easier. Best, Azita

 [ 閱讀全部 11 則使用者評論 ](https://wordpress.org/support/plugin/theme-inspector/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Theme Inspector〉的開發相關工作。

參與者

 *   [ Melissa Cabral ](https://profiles.wordpress.org/melissa-cabral/)

[將〈Theme Inspector〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/theme-inspector)

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

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

## 變更記錄

#### 4.0.0

 * Added clearer warning when using an incompatible plugin or Block Theme

#### 3.0.6

 * Minor CSS changes for compatibility with RTL language settings

#### 3.0.4

 * Minor CSS changes for compatibility with twentynineteen

#### 3.0.3

 * Added support for WooCommerce templates

#### 3.0

 * Added the complete template hierarchy chain for the currently displayed page
 * minor CSS improvements

#### 2.0

 * Moved the display to the admin bar (toolbar) for consistency
 * Changed CSS styles to be more readable in all themes
 * Improved code structure and added Inspector functions

#### 1.0

 * Original Version – Theme Inspector displays all info at the bottom corner of 
   the screen

## 中繼資料

 *  版本 **4.0.1**
 *  最後更新 **3 年前**
 *  啟用安裝數 **400+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.1.10**
 *  語言
 * [English (US)](https://wordpress.org/plugins/theme-inspector/)
 * 標籤:
 * [developer](https://tw.wordpress.org/plugins/tags/developer/)[inspector](https://tw.wordpress.org/plugins/tags/inspector/)
   [template](https://tw.wordpress.org/plugins/tags/template/)[theme](https://tw.wordpress.org/plugins/tags/theme/)
   [utility](https://tw.wordpress.org/plugins/tags/utility/)
 *  [進階檢視](https://tw.wordpress.org/plugins/theme-inspector/advanced/)

## 評分

 4.7 星，滿分為 5 星

 *  [  9 個 5 星使用者評論     ](https://wordpress.org/support/plugin/theme-inspector/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/theme-inspector/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/theme-inspector/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/theme-inspector/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/theme-inspector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/theme-inspector/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/theme-inspector/reviews/)

## 參與者

 *   [ Melissa Cabral ](https://profiles.wordpress.org/melissa-cabral/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/theme-inspector/)

## 贊助

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

 [ 贊助這個外掛 ](https://paypal.me/MelissaCSD)