Title: wp_enqueue_script not including my script
Last modified: August 19, 2016

---

# wp_enqueue_script not including my script

 *  [voidtrance](https://wordpress.org/support/users/voidtrance/)
 * (@voidtrance)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wp_enqueue_script-not-including-my-script/)
 * Hi, I am working on developing a plugin and in the plugin I have hooked a function
   to the “wp_head” action.
 * In that callback, I would like to add my JavaScript to the head of the web page.
   To do this, I use the wp_enqueue_script function.
 * However, the script is not included in the web page. I can’t find any indication
   of why it is not included.
 * In the same callback, I also include some style file with wp_enqueue_style and
   those are included and I can see them in the web page source.
 * I have verified that the script file that I am trying to include is present on
   the file system and I can access it directly through my browser.
 * Why would my script not be included? Thank you

The topic ‘wp_enqueue_script not including my script’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [voidtrance](https://wordpress.org/support/users/voidtrance/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/wp_enqueue_script-not-including-my-script/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
