Editing Body Tag to add Javascript on my website.

This topic has 2 replies, 2 voices, and was last updated 1 years, 9 months ago ago by Tony Rodriguez

  • Avatar: lemc1414
    lemc1414
    Participant
    September 12, 2022 at 21:55

    Hi, I would like to know what is the best, safe way to add Javascript to my theme, this is what I need to add: Read the private area, please

    How do I add the code to the opening of body and how do I add code before the closing of the body tag

    I’ve send login info in case it is needed.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    September 13, 2022 at 05:21

    Hello, @lemc1414,

    You can use the “Insert Headers And Footers” WordPress plugin to insert the JavaScript on your site: https://wordpress.org/plugins/wp-headers-and-footers/ in the body as per your requirements: https://ps.w.org/wp-headers-and-footers/assets/screenshot-2.gif?rev=2560429

    Regards 8Themes Team.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.