After having used jQuery and WordPress together on a number of themes, I thought I’d share some tips that I have learned through my experience with WordPress.
The traditional way to include jQuery in an HTML page is with the script tag. However when working with WordPress, you should never do this. The reason is to avoid conflicts and other potential problems such as erros with other plugins. Here is how WordPress recommends to load jQuery using the following code: Read Tutorial adding latest jQuery Version to WordPress with wp_enqueue_script()