Theme Inspector

February 13, 2023

Theme Inspector Plugin

A developer's inspector to illuminate the WordPress Template Hierarchy and help with building WordPress Classic themes.

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.
  • Theme Inspector is only visible to logged in Administrators.
  • Appears on the right-side of the Toolbar (admin bar).

Installation

  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.

FAQ

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.

Changelog

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

Details

  • Version: 4.0.1
  • Active installations: 900
  • WordPress Version: 3.0
  • Tested up to: 6.1.7

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars