Title: wp_enqueue_script wont load jquery
Last modified: August 19, 2016

---

# wp_enqueue_script wont load jquery

 *  [kingkong954](https://wordpress.org/support/users/kingkong954/)
 * (@kingkong954)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-wont-load-jquery/)
 * When using wp_enqueue_script I cannot get Jquery to load.
 * Plugins that attempt to load it also fail.
 * I have wp_head and as well as wp_footer calls where necessary.
 * No errors are thrown (by PHP) and it still happens when I disable all plugins.
 * I am stumped.

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

 *  [Aaron Jorbin](https://wordpress.org/support/users/jorbin/)
 * (@jorbin)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-wont-load-jquery/#post-1400486)
 * Where are you putting your call to wp_enqueue_script? Try adding the following
   to your theme’s functions.php file:
 *     ```
       <?php
       function my_jquery_init() {
           wp_enqueue_script('jquery');
       }    
   
       add_action('init', 'my_jquery_init');
       ?>
       ```
   
 *  Thread Starter [kingkong954](https://wordpress.org/support/users/kingkong954/)
 * (@kingkong954)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-wont-load-jquery/#post-1400681)
 * I tried that too — no luck.
 * I can place the call before or after the wp_head call.. it doesnt make a difference.
   No JQUERY is ever loaded.
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-wont-load-jquery/#post-1400682)
 * I load jQuery into a theme (as well as other stuff that I’ve edited out) with
   the following with no problem:
 *     ```
       function theme_queue_js(){
           wp_enqueue_script('jquery');
       }
       add_action('get_header', 'theme_queue_js');
       ```
   
 * Its worked through several WP versions so far.
 *  [uwiuw](https://wordpress.org/support/users/uwiuw/)
 * (@uwiuw)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-wont-load-jquery/#post-1400687)
 * [@apljdi](https://wordpress.org/support/users/apljdi/), what happen when you 
   enter the dashboard ? is it still working ? Dashboard panel has its own jquery,
   is it ?
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-wont-load-jquery/#post-1400689)
 * In practice, I filter it out of the admin section with an `is_admin` conditional.
   I think there is probably a less hackie way to do it but I haven’t come back 
   around to that project yet. I don’t that that wp_enqueue_script with load the
   same file twice though.

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

The topic ‘wp_enqueue_script wont load jquery’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-wont-load-jquery/#post-1400689)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
