=== WP Template Viewer ===
Contributors: keesiemeijer
Tags: template,theme template,plugin template,template files,included files,file content,files,content
Requires at least: 3.9
Tested up to: 3.9
Stable tag: 0.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This plugin allows you to see the content of all theme templates files that were used to display the current page.
== 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](http://codex.wordpress.org/Toolbar). 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](https://keesiemeijer.wordpress.com/wp-template-viewer)
Note: Display of file content only works if the current theme follows the recommended practice of calling the [wp_footer()](http://codex.wordpress.org/Function_Reference/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](https://keesiemeijer.wordpress.com/wp-template-viewer/filters).
**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.
== Screenshots ==
1. The toolbar menu.
2. Content index.php template from the Twenty Fourteen theme in the footer.
3. File menu and content in the footer.
== Changelog ==
= 0.1.1 =
* Added a menu item to see the menu in the footer.
* Better color coding for menu items
= 0.1 =
* Initial commit.
== Upgrade Notice ==
= 0.1.1 =
Added colors to the toolbar to differentiate between different template files. Also added a link to display the toolbar menu in the footer.