Archived topic
Hooks or Childtheme to get different headers?
3 replies · Started by MARTIN on February 22, 2019
I've just started using Beaver Builder with GP Premium for my theme. I'm also new to WordPress. I need different headers for certain types of static pages. Beaver documentation suggests custom page types for this issue, but says I must use a child theme to create them. I'm wondering if the GP Hooks Module (which I don't really understand) could provide an easy way to change header colors, etc., for a specific page, or should I just go ahead and do a child theme?
Hi there,
the elements module also includes Header Elements:
https://docs.generatepress.com/article/elements-overview/
As well as allowing you to add your own 'hero' content you can make adjustments to the Site Header and Navigation by selecting the Merge with Site Header option. They can then be set to dynamically display using the various display rules.
Thanks, David! I will look into this right away.
You're welcome
A lot of our Site Library Sites are using them - the ones generally with full width featured images:
https://generatepress.com/site-library/
And some examples of using Template Tags and other code as an alternative to adding shortcode content: