このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

What Template Am I Using

説明

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.

スクリーンショット

  • The sidebar and all panels are open.
  • 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 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.

インストール

  1. Upload what-template-am-i-using folder to the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください
  3. Visit front end of your site.

評価

2021年3月26日
GREAT! An invaluable dev tool I use on every new project
2019年2月27日
It's a very useful and informative plugin when you're doing your own PHP developments on WordPress. But i noticed that it was delaying page load by at least 3 seconds when it's active (when you're logged as admin)! So I removed it. I didn't investigated further, may be it's a combination of using this plugin with GeneratePress ?
2017年9月29日
I was just looking for a tool like this, found a bunch that are outdated. They might work but they're still kinda old and their functionality didn't look as complete as this one. This one doesn't look maintained either, but it loads, activates, and works perfectly in 4.8.2. Wow, great info, more than just templates. Get it and review it here!

Wow

2016年12月10日
This plugin is completely over the top...in a greatway. A clean, clear and prodigious display of almost anything you want to know about the current page environment, all done in a highly Web 2.0-ish manner. Highly recommended for developers.
2016年9月3日
I dearly love this plugin. It's such a relief to know if you're using the right template file or not. One of my favorite plugins by far.
2016年9月3日
This plugin is going into my dev toolbox for all my projects. Love that it not only shows the template used, but also lists all the scripts, widgets, additional files, and other relevant info. Super useful for getting a quick overview of what's going on under the hood.
13件のレビューをすべて表示

貢献者と開発者

What Template Am I Using はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“What Template Am I Using” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.2.0

  • Added Portuguese translation from Pedro Mendonça.
  • Updated Grunt workflow.

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

  • 最初のリリース。