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.
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.
- Install the Astra Hooks plugin either via the WordPress plugin directory, or by uploading the files to your server at wp-content/plugins.
- 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
Leggi tutte le recensioni di 6
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.
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
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.
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.
I had to insert Piwik Tracking Code into the Astra Theme.
This Plugin makes it possible to insert Code and gives you the Freedom of where to place this Code in the Astra Theme. Fantastic!
“Astra Hooks” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.Collaboratori
- Improvement: Hardened the security of plugin
- Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
- White Label support added from the Astra Pro plugin.