[Resolved] Adding content above the navigation (which appears above the header)

Home Forums Support [Resolved] Adding content above the navigation (which appears above the header)

Home Forums Support Adding content above the navigation (which appears above the header)

  • This topic has 2 replies, 2 voices, and was last updated 5 years ago by Leo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #827589
    Anne Marie

    Hi there,

    I’m trying to add some content above the navigation. (This will be an occasional message that appears at the top of the screen.) The navigation itself is configured through the customizer to be above the header, so I can’t use the hook generate_before_header(). I’m looking for the equivalent of generate_before_navigation(), which does not exist.

    I’ve looked at the hooks listed on https://docs.generatepress.com/collection/hooks/ and didn’t see anything that I thought would work. Are there other hooks, or a filter, I could use?

    Thank you.

    –Saul

    #827692
    Anne Marie

    Nevermind. I’ve reconfigured things and generate_before_header() is working just fine.

    #827707
    Leo
    Staff
    Customer Support

    Glad you figured out!

    This page might be handy if you haven’t found it yet:
    https://docs.generatepress.com/article/hooks-visual-guide/

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