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.

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


April 6, 2021 1 reply
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.
May 7, 2019 1 reply
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
July 4, 2018
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.
March 10, 2018
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.
Read all 6 reviews

Contributors & Developers

“Astra Hooks” is open source software. The following people have contributed to this plugin.


Translate “Astra Hooks” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



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


  • White Label support added from the Astra Pro plugin.


  • Initial release.