Reply To: Where is the header widget area located?

Home Forums Support Where is the header widget area located? Reply To: Where is the header widget area located?

#224697
Tom
Lead Developer
Lead Developer

There is a hook you can use: generate_inside_navigation

Using hooks: https://generatepress.com/knowledgebase/hook-list/

Putting a widget in there would require you to do something like this: https://codex.wordpress.org/Function_Reference/the_widget

Or use a plugin like this: https://en-ca.wordpress.org/plugins/widget-shortcode/

If you go the shortcode route, you’ll need to wrap it in a function like this:

<?php echo do_shortcode('[shortcode]'); ?>

Hope this gets you going 🙂