This is the easiest tutorial I’ve found that shows you how to enqueue scripts properly in WordPress. Forget 2-year-old blog posts about de-registering WordPress’s jQuery script and re-registering it with the Google version (really? I found 2 of those at least). This tells you how to hook your function into WordPress’s enqueue function, and how to register and enqueue the scripts you need so that they cascade properly.
Enqueue Scripts Properly in WordPress
Jan 16, 2013 | Wordpress