Conditional/Multiple Headers (PRO)
📝 Note: Multiple Headers are part of Neve Pro's Header Booster module.
This is one of the most exciting features of the Header Booster module. It allows you to load different headers on different pages, creating an awesome-looking website with minimal hassle.
Navigate to Appearance > Customize > Header > Global Header Settings.
Here you will find two options:
- Enable Transparent Header
- if enabled, it will generate a new option: Show transparent Header on the Homepage Only
- Show this Header Side-wide - while this option is enabled, the header created inside the header builder area will appear on all pages of the site.
To create different headers for different pages, disable the Show This Header Site-wide toggle.
Once that is done, a new area will appear, where you will be able to see all the existing headers (if there are any) and create a new header.
- By default, there will be just one header, called Default which will appear on all pages, as there are no special conditions for it at first.
To create a new header you need to click on the Add New Header button and enter the name of your choice.
At this moment, the new header is created and all you have to do is customize it (add, remove or rearrange any components in the header builder area, as you need for the new header) and choose the conditions that must be met by the pages that will use the custom header.
For this example, I've created a custom header that will appear on all single post pages.
For that, I've selected the condition Post Type is Posts, but the possibilities are endless.
📝 Note: Even though you are creating a header that will appear on a specific page, in Customizer you will see the currently edited header apply on all pages.
📝 Note: There is a note that announces which header you are customizing.
📝 Please note that a maximum of three group rules can be added, while three conditions work inside a group - an example below.
- group rules
- conditions inside a group rule
📝 Note: Check this video about how to create conditional headers.