该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Action Hooks

描述

Action Hooks providing live preview of Adding action hooks from customizer multiple time with Repeater. User can add HTML Markup, JavaScript, CSS if required. This plugin will support with all themes. It will list out all the applicable actions hooks for frontend.

屏幕截图

  • https://i.imgur.com/P7EL5y5.png
  • https://i.imgur.com/pHpNeml.png
  • https://i.imgur.com/jOqZMYx.png
  • https://i.imgur.com/UJNl9Dp.png

安装

  1. Install either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Once the plugin is activated you will see ‘Action Hooks’ Section in the Customizer (Apperance -> Customizer ).
  4. There always will be a Action Hook Accordion into that there are theme options first, Dropdown to select action, Second, Content which you want to show on hook, Third, Priority of action hook.
  5. By clicking on “Add New Action Hook” you can add multiple accordion for multiple hooks.
  6. By clicking on “Remove” link under accordion will remove that current accordion.
  7. Top of the Customizer panel there is refresh button to reload action hooks after activate/deactivate any new plugin.
  8. Easy and useful. Enjoy!

常见问题

Installation Instructions
  1. Install either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Once the plugin is activated you will see ‘Action Hooks’ Section in the Customizer (Apperance -> Customizer ).
  4. There always will be a Action Hook Accordion into that there are theme options first, Dropdown to select action, Second, Content which you want to show on hook, Third, Priority of action hook.
  5. By clicking on “Add New Action Hook” you can add multiple accordion for multiple hooks.
  6. By clicking on “Remove” link under accordion will remove that current accordion.
  7. Top of the Customizer panel there is refresh button to reload action hooks after activate/deactivate any new plugin.
  8. Easy and useful. Enjoy!

评价

2017 年 9 月 14 日
Great plugin to add anything, anywhere for every theme. It fetches all hooks of the theme you are using and adds an option into customizer. Keep it up!
阅读所有4条评价

贡献者及开发者

「Action Hooks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Action Hooks」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release.