Title: I get jquery function indefined error
Last modified: August 30, 2016

---

# I get jquery function indefined error

 *  Resolved [Pratik Bhatt](https://wordpress.org/support/users/pkbhatt/)
 * (@pkbhatt)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/i-get-jquery-function-indefined-error/)
 * I am using a custom slider on my wordpress site. It works ok in case of simple
   html but when I integrate it to wordpress i get error of the function is undefined
   However I have re checked that I have included all the requires js files.So please
   let me know what can be the solution for this

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 6 months ago](https://wordpress.org/support/topic/i-get-jquery-function-indefined-error/#post-6701084)
 * can we see the issue
 *  [a2ztechnologies](https://wordpress.org/support/users/a2ztechnologies/)
 * (@a2ztechnologies)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/i-get-jquery-function-indefined-error/#post-6701092)
 * I hope its conflict issue. just try noConflict() function
 *  [AdamBCarrier](https://wordpress.org/support/users/adambcarrier/)
 * (@adambcarrier)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/i-get-jquery-function-indefined-error/#post-6701093)
 * If it’s working in simple HTML –an .HTML file, but not in WordPress, it might
   be because the JavaScript for your custom slider designed for HTML templates 
   is referencing jQuery using `$` and not `jQuery`, as is needed in WordPress.
 * WordPress runs its pre-packaged jQuery in compatibility mode, meaning the `$`
   doesn’t work so other jQuery libraries can reference it. So for WordPress, we
   reference jQuery using `jQuery` instead.
 * (Read more here: [https://digwp.com/2011/09/using-instead-of-jquery-in-wordpress/](https://digwp.com/2011/09/using-instead-of-jquery-in-wordpress/))
 * Maybe that’s it?
 *  Thread Starter [Pratik Bhatt](https://wordpress.org/support/users/pkbhatt/)
 * (@pkbhatt)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/i-get-jquery-function-indefined-error/#post-6701408)
 * Thanks I solved issue it was some mistake in defination of variables

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

The topic ‘I get jquery function indefined error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [Pratik Bhatt](https://wordpress.org/support/users/pkbhatt/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/i-get-jquery-function-indefined-error/#post-6701408)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
