Linux 软件免费装
Banner图

Plugin Name

开发者 ChubbyNinjaa
更新时间 2020年5月26日 22:51
PHP版本: 3.0.1 及以上
WordPress版本: 5.4.1
版权: GPLv2 or later
版权网址: 版权信息

标签

debug generator admin templates theme editor admin bar child theme debugger

下载

详情介绍:

Do you get frustrated trying to work out what the template file you're editing is? Ever had to echo/print some text to see if WordPress is picking up the file you expect it to? If yes, then give this plugin a try, it simply adds a handy dropdown at the top of the admin bar giving you the ability to quickly see what theme template file(s) is being used, as well as what other files are being included, from themes and plugins. Never get frustrated with creating child themes again, using Template Debugger you can generate a new child theme based on one of the installed parent themes, and Template Debugger does all the leg work! Just fill out the input fields and Template Debugger will create the theme directory, add in the style.css and functions.php Plugin features:

安装:

The simplest way to install
  1. In your Wordpress Admin click on 'Plugins' then 'Add New'
  2. Type 'Template Debugger' in the search field.
  3. Navigate to the front end of your website, you'll see a new part to the admin bar showing you the current template and included files.
Alternatively,
  1. Upload the plugin to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
If you want to show the plugins, and/or exclude certain plugins from showing in this dropdown, go to your WP Dashboard, Settings > Template Debugger

屏幕截图:

  • Quickly find out what templates are being used, and in the order they're loaded
  • Exclude plugins from showing up in the admin bar, or include them!
  • Easily generate child themes
  • Easily generate child themes
  • Create page templates from the page edit screen
  • Create page templates from the page edit screen
  • View information about get_template_part()

常见问题:

Can Editors and Subscribers view the template?

They can see the name of the template in the admin bar, but they cannot click the link into the theme editor unless you have given them capabilities

更新日志:

3.1.2 3.1.1 3.1.0 3.0.0 2.2.3 2.2.2 2.2.1 2.2.0 2.1.3 2.1.2 2.1.1 2.1.0 2.0.1 2.0 1.1 1.0.1 1.0.0