Archived topic
Footer code
1 reply · Started by James on May 24, 2019
Hi I need to place amazon onecode into the footer.
Instructions from amazon are as follows:
"Copy the JavaScript code below and integrate into the footer/before the end tag of the body of your website"
How do I do this? I do not want to break my website.
Hi there,
you can use our Hook Elememt:
https://docs.generatepress.com/article/hooks-element-overview/
Add a new Hook, give it a title, paste in the amazon code.
Select the WP_Footer hook from the hook dropdown.
Set the Display Rules to Entire site or the specific pages/posts that you need.