This topic has 2 replies, 2 voices, and was last updated 2 years, 3 months ago ago by Tony Rodriguez
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.
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.
Tagged: body tag, editing, javascript, templates, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up