WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by keesiemeijer v1.0.0

WP Template Viewer

This plugin allows you to see the content of all theme templates files that were used to display the current page.

WP Template Viewer

The facts

Rating
5★ from 3
Active installs
100+
Price
Free
Last updated
7 Apr 2020
Added
Jul 2014
Requires WP
3.9
Tested up to
WP 5.4.21
Downloads
6,123

Our analysis

AI-assisted

WP Template Viewer is a WordPress plugin that allows you to view the template files used on the current page without needing to open an editor. It displays the names of all theme template files in a toolbar menu and shows the content of a selected file in the footer of your site.

This plugin is intended for site administrators and super admins who need to troubleshoot or understand the template structure of their WordPress site. It includes options for filtering access and displaying plugin files, as well as potential future enhancements for syntax highlighting.

Best for: This plugin suits WordPress site administrators needing to inspect template files.

What it does well

  • Displays theme template file names in a toolbar menu
  • Shows file content in the footer of the site
  • Access restricted to admins and super admins
  • Filters available to change default settings

Where it falls short

  • Only works if the theme calls the wp_footer() template tag
  • Limited information on features and usage

Verdict

WP Template Viewer provides a straightforward way to view template files, but its functionality is dependent on theme compliance with WordPress standards.

From the developer

keesiemeijer's own description of WP Template Viewer, lightly tidied.

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.

Read the full description on the official page →

Tagged as