Comment on WordPress Custom Nav Menu by SEO Dave.

WordPress Drop Down Menu Tested Jetpack and it is conflicting with the Stallion Featured Posts Slider javascript.

Think Jetpack is enqueing Jquery since I’m finding

<script type='text/javascript' src='http://talian-theme.co.uk/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>

Within the footer area of the test site, jquery-1.7.1.min.js is loaded by the slider and I’m assuming this is causing a conflict with jquery.js loaded within the footer.

A plugin would normally enqueue Jquery with code like this:

wp_enqueue_script( 'jquery' );

This is within Jetpack, but disabling it didn’t remove the script code, so guess it’s enqueued some other way.

Never played around with Jquery beyond copying it into the slider code, so don’t know if there’s a solution. Jquery.min is loaded in the head of the code, jquery.js is loaded in the footer. When I was creating the slider I tried to add it to the footer, but it didn’t work.

Two possible solutions.

1. Load jquery.js in the head instead of Jquery min via the slider code and hope it works for the slider and Jetpack. You’d have to disable the Jetpack Jquery as well most likely.

2. Disable Jetpacks jquery.js code and see what happens, jquery.min.js might be enough.

David

Edit: Adding

wp_deregister_script( 'jquery' );

Which de registers the the Jquery script.

To the bottom of jetpack.php fixes the slider issue, no idea if it breaks anything Jetpack wise.