Title: I need help with wp_enqueue_script !!
Last modified: August 21, 2016

---

# I need help with wp_enqueue_script !!

 *  [cblockmedia](https://wordpress.org/support/users/cblockmedia/)
 * (@cblockmedia)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/i-need-help-with-wp_enqueue_script/)
 * I am having issues getting my code to work! Each works independently, but not
   collectively. If i comment out the two of the three call code works fine…but 
   i can seem to get multiple call to function properly… Any help?
 * function nix_scripts()
    { wp_enqueue_script( ‘toggle’, get_template_directory_uri().‘/
   js/toggle.js’, array( ‘jquery’) );
 * wp_enqueue_script( ‘tabs’, get_template_directory_uri() . ‘/js/tabs.js’, array(‘
   jquery’) );
 * wp_enqueue_script( ‘accordion’, get_template_directory_uri() . ‘/js/accordion.
   js’, array( ‘jquery’) );
    }
 * add_action( ‘init’, ‘nix_scripts’ );

The topic ‘I need help with wp_enqueue_script !!’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [cblockmedia](https://wordpress.org/support/users/cblockmedia/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/i-need-help-with-wp_enqueue_script/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
