Linux 软件免费装

Template File Name Debugger

开发者 bluenestbryan
更新时间 2016年8月18日 19:02
PHP版本: 3.0.1 及以上
WordPress版本: 4.3.5
版权: GPLv2 or later
版权网址: 版权信息

标签

debug html theme template file source

下载

详情介绍:

This plugin adds the name and path of the theme (template) file used to generate the html page into the page's source as a comment. It will also add the name of the header, footer and sidebar if they are included. This is useful for debugging and seeing what template file generated a page. To use, activate, then reload any open pages. In the HTML comments, you can search for "TEMPLATE INFO" to see the added comments with the names of the template files included.

安装:

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
Once it is installed, you can right click on a Wordpress page in your browser and select the "view source" option. With the html source open, you can search for the string "TEMPLATE INFO" which will show you the added comments. Any pages open previous will have to be reloaded in your browser. Note that reloading on the "html source" view does not always reflect, you should reload the normal page view then reopen the "view source" page.

更新日志:

0.1 Initial version