Title: WordPress not automatically loading jQuery
Last modified: September 1, 2016

---

# WordPress not automatically loading jQuery

 *  [lunacodes](https://wordpress.org/support/users/lunacodes/)
 * (@lunacodes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-not-automatically-loading-jquery/)
 * Hi,
 * Hi I’m using Genesis 2.3.1 and Genesis Accessible (Leiden) 1.0
 * I’m using the plugin FooGallery, and recently I had an issue where one of the
   galleries was not displaying b/c jQuery hadn’t loaded.
 * I’ve used this plugin across multiple sites, and it works fine on the local version
   of the site. For some reason, on the live site jQuery doesn’t seem to load. I
   fixed this by enqueueing it in my functions.php
 * Correct me if I’m wrong, but isn’t WordPress supposed to automatically load jQuery?
   If so, I’m wondering why it might not be doing that.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-not-automatically-loading-jquery/#post-7650577)
 * FooGallery should check for jQuery and load it if needed. Not all themes load
   jQuery on the front end; Genesis themes may or may not. You should check with
   [http://www.studiopress.com/forums/](http://www.studiopress.com/forums/) for 
   help with customizations and issues, as premium themes like Genesis are not supported
   in these forums. These forums are for free themes available in the WordPress 
   theme directory at [http://wordpress.org/themes/](http://wordpress.org/themes/).
   See [http://codex.wordpress.org/Forum_Welcome#Commercial_Products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)
 *  Thread Starter [lunacodes](https://wordpress.org/support/users/lunacodes/)
 * (@lunacodes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-not-automatically-loading-jquery/#post-7650586)
 * Hi – I feel like my post may have been a bit unclear.
 * I completely understand that these forums are for free themes – I’m not asking
   about Genesis or help customizing it – I simply mentioned it b/c people almost
   always ask what theme you’re running.
 * I’m using this exact same setup on multiple sites currently, and have never run
   into this before – so I suspected something might be amiss in the core.
 * The only question I asked was whether or not WordPress loads jQuery by default,
   and if so, why it might not be doing that.
 * I’m asking this in an attempt to understand the core better, as I did not find
   the information through google or other search, and I’d still love to know the
   answer to the question if anyone’s got it!
 * (I’m inferring that it’s “no”, but would love confirmation either way)
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-not-automatically-loading-jquery/#post-7650600)
 * That is correct. WordPress does not load automatically.
 * >  Correct me if I’m wrong, but isn’t WordPress supposed to automatically load
   > jQuery?
 * It only loads it when a theme or a plugin lists it as a dependency which is usually
   done inside of `wp_enqueue_script`. It’s the third parameter that would be passed.
   The developer docs are cool: [https://developer.wordpress.org/reference/functions/wp_enqueue_script/](https://developer.wordpress.org/reference/functions/wp_enqueue_script/)
 * 😀 ( Sorry, I geek out a little when it comes to docs and not just Emmet )
 *  Thread Starter [lunacodes](https://wordpress.org/support/users/lunacodes/)
 * (@lunacodes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-not-automatically-loading-jquery/#post-7650729)
 * Heya – thanks so much for the info.
 * I didn’t realize that’s how the dependency parameter works, but that makes total
   sense 🙂
 * Honestly, I actually find the Developer’s Handbook to be pretty frustrating/inadequate
   a lot of the time – it requires a lot of assumed knowledge, and leaves out a 
   lot of the helpful context that the Codex often contains/contained.
 * (I don’t really have the time right now to elaborate further – but I do hope 
   to contribute to it, and help make it more accesible 🙂 )
 * Thanks once again 😀

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress not automatically loading jQuery’ is closed to new replies.

## Tags

 * [genesis](https://wordpress.org/support/topic-tag/genesis/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [wordpress core](https://wordpress.org/support/topic-tag/wordpress-core/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [lunacodes](https://wordpress.org/support/users/lunacodes/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/wordpress-not-automatically-loading-jquery/#post-7650729)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
