Title: How to enqueue scripts in functions.php
Last modified: January 13, 2025

---

# How to enqueue scripts in functions.php

 *  Resolved [rainbowguy](https://wordpress.org/support/users/rainbowguy/)
 * (@rainbowguy)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/how-to-enqueue-scripts-in-functions-php/)
 * Hi.
 * I am new to WP and would like to know how to enqueue following scripts in my 
   functions.php:
 *     ```wp-block-code
              <script src="js/jquery.min.js"></script>        <script src="js/bootstrap.min.js"></script>        <script src="js/slick.min.js"></script>        <script src="js/nouislider.min.js"></script>        <script src="js/jquery.zoom.min.js"></script>        <script src="js/main.js"></script>
       ```
   
 * Thanks.

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/how-to-enqueue-scripts-in-functions-php/#post-18240604)
 * Most of it is not even necessary to integrate. jQuery comes with WordPress itself.
   You should also check the other files first to make sure they are not already
   there.
 * What is the goal of all this?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/how-to-enqueue-scripts-in-functions-php/#post-18241205)
 * With regard to the handler, I would recommend creating it from the name of your
   theme and its function (example: `electro-slick`). Your current code could possibly
   lead to duplication with other plugins that also call their handlers `slick`,
   for example.
 *  Thread Starter [rainbowguy](https://wordpress.org/support/users/rainbowguy/)
 * (@rainbowguy)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/how-to-enqueue-scripts-in-functions-php/#post-18241971)
 * I see. Thanks for the suggestion.
 * So that means the bootstrap import is fine as well then.

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

The topic ‘How to enqueue scripts in functions.php’ is closed to new replies.

## Tags

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

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 3 participants
 * Last reply from: [rainbowguy](https://wordpress.org/support/users/rainbowguy/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/how-to-enqueue-scripts-in-functions-php/#post-18241971)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
