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

Visual Hook Guide for Kadence

Описание

This plugin is for use by developers working with the Kadence theme and adds a Kadence Hooks item in the WP admin bar on the front end.

Clicking Action Hooks item in the submenu will display the currently available Kadence action hooks on that page. Clear clears the hooks.

Clicking anywhere on a hook copies the hook name to your clipboard.

The hook name is also shown as the tooltip when hovering on a hook.

Kadence theme required.

Automatic Installation

Search for visual hook guide kadence from within your WordPress plugins’ Add New page and install.

Manual Installation

  1. Click on the Download button to download the plugin.
  2. Upload the entire kadence-visual-hook-guide folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the Plugins menu in WordPress.

Credits

This plugin is based on my Genesis Simple Hook Guide which was made possible thanks to

Скриншоты

  • Screenshot showing the WP admin bar menu item.
  • Screenshot showing the actions hooks on the page.

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

My fixed header appears to be offset from the top when scrolling down with the hooks showing

Use your browser DevTools, locate the the div having a class of item-is-fixed (this is usually div.site-main-header-wrap) and uncheck position: fixed temporarily.

Is it possible to view the hooks when the WP admin bar is not visible?

Yes. Add ?kvhg_hooks=show at the end of your page URL.

Is this an official plugin by Kadence WP?

No. This is a third party plugin created by a community member.

Отзывы

02.02.2021
What a smart idea to make a plugin to visually output the various hooks. Not only for developers but also for everybody who wants to make use of the Kadence elements and insert them with precision in right place on a page.
Посмотреть все 5 отзывов

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

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

Участники

Перевести «Visual Hook Guide for Kadence» на ваш язык.

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

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

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

1.0.1

Added copy to clipboard function.

1.0

Initial Release.