Under the Header Navigation settings I see you have an option to display some text in the header.
Do you guys have any built in hooks to allow adding custom widget areas to the header? We can always customize the header.php file but looking for any streamline solution that you guys might have.
This hook is displayed outside the Header, I am looking for hooks inside the Header like either after the menu navigation or near 'right-aligned-menu-items'.
Also, do you have any documentations how to display a Global Section with either a Shortcode or PHP function?
I figured out a solution and you can close this ticket.
Since this is a public ticket, I will add some details incase other users are trying to achieve the same thing.
1. First I created a custom widget area called 'Header Right'. 2. Then I created a shortcode to display this custom widget area. 3. In the Salient Header Navigation settings under Layout & Content Related I added the shortcode to the 'Text To Display In Header' textarea field.
This gives me the ability to add custom HTML and widgets to the Header.
Under the Header Navigation settings I see you have an option to display some text in the header.
Do you guys have any built in hooks to allow adding custom widget areas to the header? We can always customize the header.php file but looking for any streamline solution that you guys might have.
Hi there,
You could add a global section under the header using salient \ global sections - After Header Navigation.
Global sections are explained here - https://themenectar.com/docs/salient/page-builder-global-sections/, basically section you create with the page builder which you can then add to different locations on the the theme.
Hope this helps.
Hey Noah,
This hook is displayed outside the Header, I am looking for hooks inside the Header like either after the menu navigation or near 'right-aligned-menu-items'.
Also, do you have any documentations how to display a Global Section with either a Shortcode or PHP function?
Hey Noah,
I figured out a solution and you can close this ticket.
Since this is a public ticket, I will add some details incase other users are trying to achieve the same thing.
1. First I created a custom widget area called 'Header Right'.
2. Then I created a shortcode to display this custom widget area.
3. In the Salient Header Navigation settings under Layout & Content Related I added the shortcode to the 'Text To Display In Header' textarea field.
This gives me the ability to add custom HTML and widgets to the Header.