Skip to content

Month: April 2011

WordPress and jQuery issues

First, I don’t remember where I found this along the way, but this is a smart and efficient way to include jQuery in your WordPress themes. Just add this to your theme’s functions.php file: // ADDING JQUERY add_action( ‘init’, ‘jquery_register’ ); add_filter( ‘script_loader_src’, ‘jquery_unversion’ ); function jquery_register() { if (…