Home › Forums › Back End › Jquery WP issue › Re: Jquery WP issue
December 20, 2012 at 7:00 am
#118240
Member
Well the first thing I would change is the URL for jQuery, you don’t need to detect if the server is using SSL as browsers can handle that for you. See the below:
// Using 2 forward slashes will let the browser know it has to pick the protocol, works in every browser
wp_register_script(‘jquery’, “//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js”, false, null);
The question I would have though is in your page source what comes first? jQuery or the plugins?