Title: Adding script using wp_enqueue_script
Last modified: August 21, 2016

---

# Adding script using wp_enqueue_script

 *  [sjackson4430](https://wordpress.org/support/users/sjackson4430/)
 * (@sjackson4430)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/adding-script-using-wp_enqueue_script/)
 * Can someone please provide me with some detailed instructions on how to add this
   banner script to my header.php, And exactly what to add the functions.php
    [http://creepychrisproductions.nfshost.com/scripts/hedr.html](http://creepychrisproductions.nfshost.com/scripts/hedr.html)
   using wp_enqueue_script I cant figure out how to do this, the only way I can 
   get this header to work is to copy the script directly to the header.php but 
   I have been trying to do it the right way for the past 15 hours and I cant figure
   it out… The website is located here, [http://creepychrisproductions.nfshost.com](http://creepychrisproductions.nfshost.com)

Viewing 1 replies (of 1 total)

 *  [Rod Whiteley](https://wordpress.org/support/users/rod-whiteley/)
 * (@rod-whiteley)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/adding-script-using-wp_enqueue_script/#post-4086149)
 * Does the [example in the Codex](http://codex.wordpress.org/Plugin_API/Action_Reference/wp_enqueue_scripts)
   not help? By the way there’s an `s` on the end of the function name.

Viewing 1 replies (of 1 total)

The topic ‘Adding script using wp_enqueue_script’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Rod Whiteley](https://wordpress.org/support/users/rod-whiteley/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/adding-script-using-wp_enqueue_script/#post-4086149)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
