[Resolved] How to add code to the header to all pages

Home Forums Support [Resolved] How to add code to the header to all pages

Home Forums Support How to add code to the header to all pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #989338
    bluebit

    So how do I do this? To link a website using your own domain, you add the following meta tag to the <HEAD> section for all pages on your website.

    I have the code, but where to put it in generatepress. I went to Elements, but do i add the code to page hero section? and what are all the other settings, do I need to do something else?

    #989340
    Leo
    Staff
    Customer Support

    Hi there,

    Use the hooks elements module (not header elements):
    https://docs.generatepress.com/article/hooks-element-overview/

    Then use the wp_head hook.

    Let me know if this helps ๐Ÿ™‚

    #989347
    bluebit

    thanks that worked

    #989800
    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.