[Resolved] Header HTML for specific page

Home Forums Support [Resolved] Header HTML for specific page

Home Forums Support Header HTML for specific page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1677938
    Ryan

    Hi,

    I need to use header html for a specific page. I thought I was doing this correctly with Elements–I added a new header element, put in the html and then setup a location rule to only show up for one page. However, when I do a developer tool search on that particular page, I can’t find the html on that page.

    Is this the correct way to put in a header script?

    #1677941
    Leo
    Staff
    Customer Support

    Hi there,

    I believe the wp_head hook with a hook element is what you need:
    https://docs.generatepress.com/article/wp-head/
    https://docs.generatepress.com/article/hooks-element-overview/

    Let me know if this helps ๐Ÿ™‚

    #1678045
    Ryan

    thank you sir, this worked

    #1678098
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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