這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

螢幕擷圖

安裝方式

  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.

使用者評論

2021 年 3 月 26 日
GREAT! An invaluable dev tool I use on every new project
2019 年 2 月 27 日 1 則留言
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 日 1 則留言
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

  • Initial release.