Archived topic
Navigation as header
1 reply · Started by Bernhard on March 28, 2019
Hi,
I'm reading through the new features in 1.8. Actually I use Elements to hide the header and all pages except 2 pages where I use advertisement in the header following these instructions. I see that in the 1.8 docs it would be possible to have the site title inside the navigation and I'm wondering how to proceed best.
a) if I use the new feature of 1.8, I shall create an element to keep the header on the two pages with advertisement, how can I do that?
b) if I don't use the new feature, how can I add the site title to the navigation.
Thank you
Hi there,
The easiest solution would be use the the before_header hook on the pages you want to insert the ad:
https://docs.generatepress.com/article/hooks-visual-guide/
Let me know if this helps :)