Plugin info

Total downloads: 5,768
Active installs: 100
Total reviews: 3
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 4/7/2020 (2093 days ago)
Added to WordPress: 7/9/2014 (11 years old)
Minimum WordPress version: 3.9
Tested up to WordPress version: 5.4.18
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2093 days ago • 3 reviews

22/100

Is WP Template Viewer abandoned?

Possibly abandoned (last update 2093 days ago).

Compatibility

Requires WordPress: 3.9
Tested up to: 5.4.18
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

Ever wanted to take a quick look at a theme template file without opening an editor? Or wondered what template files were used to display the current page?

This plugin displays all theme template file names in use for the current page in a toolbar menu. File names are shown in the order they were included. File content is displayed in the footer of your site by clicking a file name.

Only admins and super admins have access to the toolbar menu and file content.

For more information see the plugin documentation

Note: Display of file content only works if the current theme follows the recommended practice of calling the wp_footer() template tag (most theme’s do).

Filters can be used to change (override) the default settings or behavior of the plugin.

For example,

  • Allow specific users access to the menu and content. (convenient for troubleshooting with others)
  • Also include plugin files.
  • Show the menu in the footer instead of the toolbar.

For more information see the filter documentation.

Roadmap

  • Show content with popular syntax highlighter plugins.

Installation

  • Unzip the wp-template-viewer.zip folder.
  • Upload the wp-template-viewer folder to your /wp-content/plugins directory.
  • Activate wp-template-viewer.
  • That’s it, now you are ready to use the plugin.

Note: There’s no settings page for this plugin.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. The WP Template Viewer toolbar menu.

    The WP Template Viewer toolbar menu.

  2. File menu in the footer with part of the content of single.php.

    File menu in the footer with part of the content of single.php.

  3. Content of index.php.

    Content of index.php.

Changelog

1.0.0

  • Add more specific css to display viewer on top.
  • Add the current template to the toolbar

0.1.2

  • Added links to select text an hide or show files in the footer.
  • Added custom capability ‘view_wp_template_viewer’ for users.

0.1.1

  • Added a menu item to see the menu in the footer.
  • Better color coding for menu items

0.1

  • Initial commit.