Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Template 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:

  • Quickly find out what template file(s) are being used

  • See what plugin template files are in use

  • Create new page templates from post editing screen

  • Create child themes from a parent theme

  • … Got an idea for a feature?? Cool! Drop me a message in the support forum

Скриншоты

  • 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

Установка

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. Активируйте плагин используя меню ‘Плагины’ в 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

Часто задаваемые вопросы

Installation Instructions

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. Активируйте плагин используя меню ‘Плагины’ в 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

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

Отзывы

Апрель 4, 2018
For years I am trying to customize my wordpress themes, as always I get lost! This plugin helped me a lot! Thank you! PS: I just created a account to give you 5 stars!
Сентябрь 3, 2016
It make the process of theme customization so much easier, I use it on every WordPress website I develop !
Посмотреть все 6 отзывов

Участники и разработчики

«Template Debugger» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Template Debugger» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

2.2.3

  • Checked: Stable for version 4.8.2

2.2.2

  • New: Create custom post type templates from inside the post editing screen

2.2.1

  • New: Plugin ready for translations
  • Changed: Improved page template creating

2.2.0

  • New: Create page templates from inside the post editing screen

2.1.3

  • Fixed: PHP Notice
  • Fixed: Top nav item broken link
  • Changed: Script enqueue label

2.1.2

  • Fixed: Show theme slug when name not set
  • Changed: Removed PHP short tags

2.1.1

  • New: Current template file highlighted with an asterisks (*)
  • Fixed: Link to theme editor broken

2.1.0

  • New: You can now generate a child theme inside Template Debugger
  • Fixed: Missing minified CSS file

2.0.1

  • Updated: Name changed from Template Quick Edit Link (a bit of a mouthful!) to Template Debugger
  • Updated: Add minified version of CSS
  • Updated: Reformatted code
  • Updated: Updated settings page

2.0

  • New: Ability to see what plugin files are being included
  • New: Ability to navigate recursively through directories
  • New: Settings Page to exclude specific plugins from showing
  • New: Specify level of recursive in settings
  • Fixed: Plugin running while in the dashboard
  • Fixed: Overflow issues

1.1

  • Fixed: Dropdown items missing when list too long for viewport

1.0.1

  • Now shows a dropdown of all template includes, if you are using a parent and child theme combo it will nest them nicely by theme location

1.0.0

  • Первый релиз