[Support request] Javascript upload

Home Forums Support Javascript upload

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #311063
    Jay

    Is there something similar to Code Snippets for javascripts?

    GeneratePress 1.3.46
    GP Premium 1.2.96
    #311289
    Tom
    Lead Developer
    Lead Developer

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.