Title: jQuery ui wp_enqueue_script problem WordPress 3.3
Last modified: August 20, 2016

---

# jQuery ui wp_enqueue_script problem WordPress 3.3

 *  Resolved [Changed](https://wordpress.org/support/users/asfreema/)
 * (@asfreema)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/jquery-ui-wp_enqueue_script-problem-wordpress-33/)
 * I’m having a major pain in the ass enqueuing some scripts for use in my theme.
 * It was announced that WordPress 3.3 includes the entire jQuery UI library, but
   I can’t even get the core loaded into my theme for some reason.
 * This is my functions.php :
 *     ```
       <?php
       function meso_enqueue_scripts() {
           //$accordion = get_template_directory_uri() . '/js/jquery.ui.accordion.js';
           //$deps = array('jquery','jquery-ui-core');
           wp_enqueue_script('jquery');
           wp_enqueue_script('jquery-ui-core');
           //wp_enqueue_script('jquery-ui-accordion');
           //, $accordion, $deps);
       }
       add_action ( 'wp_enqueue_scripts', 'meso_enqueue_scripts');
       ?>
       ```
   
 * And I do call wp_head(); . I have my old accordion script commented out because
   3.3 includes it natively, but now I can’t even get the core to load in properly.
 * Anyone know what I may be doing wrong?
 * Thanks.

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

 *  Thread Starter [Changed](https://wordpress.org/support/users/asfreema/)
 * (@asfreema)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/jquery-ui-wp_enqueue_script-problem-wordpress-33/#post-2451077)
 * Just a quick note-when I enqueue jquery-ui-core I do get jquery itself in there(
   the new 1.7.1) but still no core.
 * Maybe it’s renamed.
 *  Thread Starter [Changed](https://wordpress.org/support/users/asfreema/)
 * (@asfreema)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/jquery-ui-wp_enqueue_script-problem-wordpress-33/#post-2451099)
 * You have to include wp_footer();
 * D’oh.
 *  [Jenny Beaumont](https://wordpress.org/support/users/jennybeaumont/)
 * (@jennybeaumont)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/jquery-ui-wp_enqueue_script-problem-wordpress-33/#post-2451428)
 * Hi asfreema,
 * I was looking for a little help…I’ve been wordpressing a while, but am relatively
   new to JQuery. Does each script that I might want to use then need to be called
   in this way?
 * thanks for your help,
    -jennyb

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

The topic ‘jQuery ui wp_enqueue_script problem WordPress 3.3’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Jenny Beaumont](https://wordpress.org/support/users/jennybeaumont/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/jquery-ui-wp_enqueue_script-problem-wordpress-33/#post-2451428)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
