[Resolved] How to deploy some code onto header and body area

Home Forums Support [Resolved] How to deploy some code onto header and body area

Home Forums Support How to deploy some code onto header and body area

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1405700
    Ashok

    looking some simple way without installing any plugin

    Thanks

    #1405963
    David
    Staff
    Customer Support

    Hi there,

    maybe the Hook Element will help:

    https://docs.generatepress.com/article/hooks-element-overview/

    Adding code into:
    <header> use the wp_header hook.
    After opening body tag: wp_body_open
    In the footer: wp_footer

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