by Chris Coyier & Jeff Starr

Daily archives: Tuesday, June 2, 2009

Including jQuery in WordPress (The Right Way)

Posted by Updated on

If you want, you can just download jQuery, put it on your server and link to it from your header.php file in the <head> section. But that can cause you grief. For one thing, some plugins use the jQuery library, and they are going to load it as well. This can cause problems. How was your plugin to know you already had it loaded?

Code is poetry