Home › Forums › Support › Can i add Java Script with elements? This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts November 3, 2020 at 1:15 am #1515676 Marcin I need to add JS script to my page to make my accordions work. Hovewer adding JS with Insert Header and Footer does not work. Can I use element to add Java Script code to my <head> or <footer>? November 3, 2020 at 5:14 am #1515908 DavidStaff Customer Support Hi there, yes, you can use the Hook Element: https://docs.generatepress.com/article/hooks-element-overview/ The wp_head hook will place the script inside the <head> The wp_footer hook will place it in the <footer> Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In