Including jQuery in WordPress The Right Way

WordPress already includes a copy of jQuery. All Theme and plugin developers have to use this file to add jquery to the pages. The correct way to add jquery is;

wp_enqueue_script( 'jquery' );

Unfortunately some theme and plugin developers don’t use this proper method and this cause conflicts with other plugins.

If there is a javascript problem like this in your theme, you should contact your theme’s author because this is a big problem and if he/she doesn’t fix it, you will have problems with most of the other plugins too…