[Resolved] Page Header not showing on blog page

Home Forums Support [Resolved] Page Header not showing on blog page

Home Forums Support Page Header not showing on blog page

  • This topic has 22 replies, 3 voices, and was last updated 6 years ago by Tom.
Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #517682
    Nimie

    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?

    #517911
    Leo
    Staff
    Customer Support

    Hi there,

    Currently the blog page shows Nothing Found.

    Have you created a post yet?

    #517954
    Nimie

    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.

    #518314
    Tom
    Lead Developer
    Lead Developer

    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.

    #518663
    Nimie

    Using an elementor header in hooks.

    #518948
    Tom
    Lead Developer
    Lead Developer

    Which hook?

    #518995
    Nimie

    wp_head

    #519114
    Leo
    Staff
    Customer Support

    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/

    #519878
    Nimie

    No created a header top bar menu in elementor and used hook to apply

    #520182
    Leo
    Staff
    Customer Support

    Try the before header hook instead: http://demo.generatepress.com/hook-locations/

    #520199
    Nimie

    That removed the top bar, header and menu but did not create a page header for blog page.

    #520325
    Tom
    Lead Developer
    Lead Developer

    It looks like you still have something in wp_head. Can you make sure that hook is empty?

    #520582
    Nimie

    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?

    #520871
    Tom
    Lead Developer
    Lead Developer

    HTML isn’t allowed in wp_head.

    Anything in that hook should be in the Before Header hook, and wp_head should be empty.

    #521127
    Nimie

    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.

Viewing 15 posts - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.