Archived topic
Page Header not showing on blog page
22 replies · Started by Nimie on March 12, 2018
I am trying to put a page header on the blog page. Have it set in global settings but it still is not showing. Can you give a look and see what I am doing wrong?
Hi there,
Currently the blog page shows Nothing Found.
Have you created a post yet?
No po9st but shouldn't the page header show? I added one now but I am wanting a page header just for the blog page not for each post.
Do you have anything in GP Hooks? Your HTML looks broken, with stuff that's supposed to be in wp_head showing up within the body.
Using an elementor header in hooks.
Which hook?
wp_head
wp_head shouldn't be used for that.
Are you trying to merge like this method here? https://docs.generatepress.com/article/merging-header-navigation-content/
No created a header top bar menu in elementor and used hook to apply
Try the before header hook instead: http://demo.generatepress.com/hook-locations/
That removed the top bar, header and menu but did not create a page header for blog page.
It looks like you still have something in wp_head. Can you make sure that hook is empty?
If that hook is empty the top bar etc disappear because these were created in elementor and applied via hook. How does this affect page headers? Don't page headers come after wp header?
HTML isn't allowed in wp_head.
Anything in that hook should be in the Before Header hook, and wp_head should be empty.
This is what is in the wp head. If I put it in the before header hook it does not show up. I have removed it and placed in the before header.