WP Template Viewer

plugin banner

Ever wanted to take a quick look at a theme template file without opening a text 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. The file names are shown in the order they were included. The content of the file will be displayed in the footer of your site by clicking a file name in the toolbar.

Read more about it here:
https://github.com/keesiemeijer/wp-template-viewer

Author:keesiemijer (profile at wordpress.org)
WordPress version required:3.9
WordPress version tested:5.4.15
Plugin version:1.0.0
Added to WordPress repository:09-07-2014
Last updated:07-04-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:3
Plugin URI:https://keesiemeijer.wordpress.com/wp-templat...
Total downloads:5 144
Active installs:200+
plugin download
Click to start download

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.

Screenshots
ChangeLog