jQuery | WordPress.org

Hi @amandapanda33,

It depends on your page, if jQuery is already loaded on the page it should work but you might have to load the script in the footer to make sure it’s already available.

If jQuery is not used by your theme you will have to enqueue it first, you can create a separate PHP snippet for that and load it before the actual JS one (using the priority field).

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here