Theme Inspector

外掛說明

A simple, lightweight plugin that displays useful technical information on pages and posts to aid in developing WordPress 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.
  • 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.

使用者評論

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.
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.
2016 年 9 月 3 日
The plug in is very useful: you always have all the info you need at your fingertip. Tech support is also very prompt.
閱讀全部 10 則使用者評論

參與者及開發者

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

參與者

將〈Theme Inspector〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

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