Title: building new theme, Javascript compatibility
Last modified: August 22, 2016

---

# building new theme, Javascript compatibility

 *  [bsapaka](https://wordpress.org/support/users/bsapaka/)
 * (@bsapaka)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/building-new-theme-javascript-compatibility/)
 * Building a theme from scratch and experiencing problems with javascript in plugins.
 * Could a likely cause be improper theming?
 * I’m asking a general question, so I’m not expecting much more than a general 
   answer. References to places in codex fine too

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 4 months ago](https://wordpress.org/support/topic/building-new-theme-javascript-compatibility/#post-5675794)
 * Plugins distributed on WordPress.org should be compatible with the jQuery version
   that comes bundled with WordPress – I would continue to use that jQuery library.
 *  Thread Starter [bsapaka](https://wordpress.org/support/users/bsapaka/)
 * (@bsapaka)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/building-new-theme-javascript-compatibility/#post-5675917)
 * To use that jQuery library, is there anything specific I must code into my from-
   scratch theme?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 4 months ago](https://wordpress.org/support/topic/building-new-theme-javascript-compatibility/#post-5675939)
 * I _think_ you just add this to your Child Theme functions.php file:
 *     ```
       wp_enqueue_script( 'jquery' );
       ```
   
 * There are other scripts that come bundled with WordPress in case you want to 
   use them too: [http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Default_Scripts_Included_and_Registered_by_WordPress](http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Default_Scripts_Included_and_Registered_by_WordPress)

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

The topic ‘building new theme, Javascript compatibility’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/building-new-theme-javascript-compatibility/#post-5675939)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
