Site logo

Archived topic

Javascript upload

1 reply · Started by Jay on April 27, 2017

Viewing posts 1–2 of 2

Is there something similar to Code Snippets for javascripts?

The advanced way would be adding a JS file to your child theme/custom plugin and including it using wp_enqueue_script().

The less advanced way would be to put it in the wp_footer hook in GP Hooks between <script></script> tags.

However, I'm sure a plugin exists for inserting javascript if you look around, I just don't know of any off the top of my head.

This archived topic is closed to new replies.