What Template Am I Using

December 08, 2015

What Template Am I Using Plugin

This plugin is intended for theme developers to use. It shows the current template being used to render the page, current post type, and much more.

This plugin is intended for theme developers to use. It shows the current template being used to render the page, current post type, and much more.

The info is only displayed for users that have the edit_theme_options capability.

Information displayed:

  • Current template
  • General Information (post type, are you on the front page, etc.)
  • Additional files used. For example, header.php or footer.php
  • What sidebars are being used and what widgets are in them.
  • List of enqueued scripts and styles.

This plugin is intended for use by theme developers and it requires a standards compliant browser. This plugin will not work in IE8 or below.

Installation

  1. Upload what-template-am-i-using folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit front end of your site.

Screenshots

  1. The sidebar and all panels are open.

    The sidebar and all panels are open.

  2. You can click on the arrow to the right of each label to open or close the panel. You can also sort the panels to be in the order you want. The open status and sort order are saved to your user account.

    You can click on the arrow to the right of each label to open or close the panel. You can also sort the panels to be in the order you want. The open status and sort order are saved to your user account.

  3. You can click the X button to remove the sidebar from the page and to not show it in the future. You can turn it back on with a checkbox on your profile page.

    You can click the X button to remove the sidebar from the page and to not show it in the future. You can turn it back on with a checkbox on your profile page.

Changelog

0.2.0

0.1.13

  • Updated panel activation/deactivation handling.
  • Fixed PHP warning when WP_DEBUG is true.

0.1.12

  • Show all core panels now. I’m not using the debug panels right now.
  • Added PHP info panel.

0.1.11

  • Updated the way I setup panels.
  • Added help text feature to panels.

0.1.10

  • Compatibility updates for WordPress 3.1.

0.1.9

  • Minor bug fix on Panel activation.
  • Simplified openToggle JavaScript.

0.1.8

  • Added Theme panel.
  • Updated IP Addresses panel and Server Information panel to show if WP_DEBUG is true.
  • Updated Panel activation/deactivation hooks.
  • Added filter: wtaiu_panel_can_show.

0.1.7

  • Fixed PHP warning when WP_DEBUG is true.

0.1.6

  • Started using Grunt and SASS/Compass.
  • I rewrote how information is displayed in the sidebar panel (removed wtaiu_data filter).
  • Added drag and drop re-ordering of panels.
  • Added an open/close button to the panel header.
  • Added context menu options to open or close all panels. (Only works in Firefox currently)
  • Added Sidebar Information panel that shows you what sidebars and widgets are being used on the current URL.
  • Added checkbox to user profile page so user can toggle showing the sidebar (if allowed).
  • Various style updates.
  • Tested with default WordPress themes.

0.1.5

  • Updated CSS: text alignment, panel opening transition.
  • I updated the behavior of the close button.
  • Fixed PHP warning when WP_DEBUG is true.

0.1.4

  • This is a complete rewrite to include more functionality and to update the styles.
  • The data displayed is now filterable.

0.1.3

  • Added server IP address.

0.1.2

  • Added is_home() and is_front_page() output to footer.

0.1.1

  • Added current post type.

0.1

  • Initial release.

Details

  • Version: 0.2.0
  • Active installations: 100
  • WordPress Version: 3.1.0
  • Tested up to: 4.4.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars