Title: Loading jQuery &amp; javascript in footer
Last modified: August 21, 2016

---

# Loading jQuery & javascript in footer

 *  [bopjo1](https://wordpress.org/support/users/bopjo1/)
 * (@bopjo1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/loading-jquery-javascript-in-footer-1/)
 * Hi, I would like to load the bundled jQuery and my other javascript files in 
   the footer. I put the following code in my functions.php and it loaded the javascript
   files in the footer via the wp_footer() hook. Is this the right way? Will it 
   cause conflicts with plugins?
 *     ```
       function load_javascript_files () {
       	wp_enqueue_script( 'jquery' );
       	wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/js/bootstrap.min.js' );
       }
   
        add_action( 'wp_footer', 'load_javascript_files' );
       ```
   

The topic ‘Loading jQuery & javascript in footer’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [bopjo1](https://wordpress.org/support/users/bopjo1/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/loading-jquery-javascript-in-footer-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
