Astra Hooks

外掛說明

Astra uses the WordPress Hooks API to insert actions throughout the theme. This plugin allows you to “hook” your custom Content, Shortcodes or Java Script code in the various hook locations.

Once installed, you will see a new tab in the Customizer. See screenshots for more information.

To see all of the available hooks in Astra, visit this page.
http://developers.wpastra.com/theme-visual-hooks/

Need to add dynamic content with various conditions? Please consider the Astra Pro Addon. Custom Layouts module in Astra Pro Addon offers functionality so you can add dynamic content (PHP Code) easily.

螢幕擷圖

安裝方式

  1. Install the Astra Hooks plugin either via the WordPress plugin directory, or by uploading the files to your server at wp-content/plugins.
  2. After activating, you can use Astra Theme hooks from customizer interface.

常見問題集

Where to find the Hooks list?

Goto customizer from Appearance -> Customizer -> Hooks. There are multiple section of Hooks, which you want to use you can. @see http://bsf.io/5jc3v

使用者評論

2021 年 4 月 6 日 1 則留言
As already stated in my forum post, this plugin will add after content Hooks also to the archive/ALL pages. If you want to add a donate button at the bottom of each post, it would be also shown in every archive post entry, even after the summary. So this plugin is basically a free teaser of Astra Premium, nothing more. Usecases are limited, however it is a nice idea and might be helpful to some of you.
2019 年 5 月 7 日 1 則留言
This plugin takes the Astra theme to a whole new level by giving the site developer extensive ways to add 'any' content into pretty much any part of your website. This includes the addition of php, js, html and css code into places like the head of your site for things like google tags etc. Previously I have had to implement specific plugins for each type of code I wanted to use. Together with the Astra Theme, Astra Pro (not essential) and this plugin, it has enabled me to remove quite a number of plugins that I now no longer need. Thanks heaps guys for the must have addition to the Astra Theme - well done
2018 年 7 月 4 日
Using this on the free Astra Theme. This is an awesome extension of the free theme. I never seen such a huge and easy to access collection of hooks in a free theme. Highly appreciated that this is possible. This save me so much time.
2018 年 3 月 10 日
When you have Astra Pro, hooks areas are already there. Not sure why there isn't an explicit notice like "Astra Pro users do not need this plugin!". Even so, very useful plugin when using just the free version of Astra.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Astra Hooks〉的開發相關工作。

參與者

將〈Astra Hooks〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.2

  • Improvement: Hardened the security of plugin
  • Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules

1.0.1

  • White Label support added from the Astra Pro plugin.

1.0.0

  • Initial release.