[Resolved] Help to place code just before the tag

Home Forums Support [Resolved] Help to place code just before the tag

Home Forums Support Help to place code just before the tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1573600
    Abdul

    I need to add a code for an affiliate program.

    This is what I am supposed to do.

    Copy the script generated above and place it just before the </body> tag on your pages or website template

    Can you please let me know how to add the code before the </body? tag ?

    #1573681
    Ying
    Staff
    Customer Support

    Hi Abdul,

    You could use wp_footer hook to achieve this.
    https://docs.generatepress.com/article/wp_footer/

    Go to Appearance > Elements > Add new elemenets > Hook, then choose wp_footer.
    You can insert your code in the content box.

    Let me know ๐Ÿ™‚

    #1586969
    Abdul

    Thanks

    #1587487
    Ying
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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