Home › Forums › Support › Javascript in slideout navigation hook › Reply To: Javascript in slideout navigation hook
October 6, 2016 at 8:51 am
#232804
Lead Developer
Lead Developer
You can run javascript anywhere and it will apply to any element throughout the page – it doesn’t need to be placed anywhere specifically for it to work.
The best place for javascript is the wp_footer hook.
Let me know if you need more info 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development