Show Template

Prints an html comment in the footer of every page letting you know which template file of your theme was used for the display.

This plugin is aimed towards theme developers and for theme support. It is recommended to only have this plugin activated during development or support as it will expose your file system path structure.

Props to Joel Fisher for the idea behind this plugin.

Version Information

Version: 1.1
Requires WordPress Version: 3.0
Compatible Up To: 3.1.4

Download

Downloaded: 1870 times
Latest version: Download Show Template v1.1 [zip]
Other versions: Download Show Template archives

Installation

  1. Upload the show-template folder to the /wp-content/plugins/ directory or install directly through the plugin installer.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer

Upgrade

  1. Use the plugin updater in WordPress or…
  2. Delete the previous show-template folder from the /wp-content/plugins/ directory
  3. Upload the new show-template folder to the /wp-content/plugins/ directory

Usage

  1. Install and activate.
  2. View source of your blog through your web browser. You will see a html comment in the form of <!-- Active Template: /home/username/public_html/wordpress/wp-content/themes/default/index.php -->

FAQ

Q. Why is the html comment not showing in the view source of my site?
A. This plugin requires that your themes footer.php contain <?php wp_footer(); ?> directly above the </body> tag.

Changelog

1.1 (2010-09-12):

  • Use the WordPress 3.0 logic in determining the template file to include
  • Add additional functionality to detect when a plugin or theme has intercepted the template loader

1.0 (2009-05-13):

  • Initial Public Release

7 Responses to Show Template

  1. baron says:

    Works great, thank you

  2. Pingback: WordPress Plugin Releases for 05/17 | Weblog Tools Collection

  3. Pingback: WordPress Plugin Releases for 05/17 | BlogBroker24-7

  4. Pingback: WordPress Plugin Releases for 05/17 | The Cliffmaster

  5. Pingback: WordPress Plugin Releases for 05/17 | Fresh News - Blog Design, Wordpress, Blogger, and Web Development

  6. Pingback: Comment on Show Template by WordPress Plugin Releases for 05/17 … | WEBMASTERLIB.COM

  7. Harv says:

    Hi, nice plugin! Hope there will be Buddypress support on next version.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre>