Site logo

Archived topic

How do I add scripts before the closing 'body' tag?

3 replies · Started by Yumei on January 22, 2022

Viewing posts 1–4 of 4

Hi, I am wondering where I can put in javascript code that's to be place before the </body> tag.

In Genesis Framework, one can paste code into the "header scripts" and "body scripts" boxes on each page. Is there such a place in GeneratePress? If not, how does one go about adding scripts?

Thanks,
Yumei

I had gone through the article on hooks, but missed the wp_footer reference. Thanks!

No problem :)

This archived topic is closed to new replies.