Hi There,
We have just added a Premium plugin to our Wordpress called CCGallery WP.
When activated it breaks the Homepage image scroller and also prevents videos being shown.
Please see attached image for before and after and also URL.
Many Thanks
Manoj Raj answers:
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js?ver=1.8.2'></script>
<script src="http://www.adcreations.info/wp-content/themes/adcreations/js/jquery-1.5.1.min.js" type="text/javascript"></script>
Two jquery versions included in your header...Its jquery conflict...Any specific reasons you should use both the versions?...
jimspankling comments:
could you find where it is calling 1.8.2 from as I cannot see it in the header.php
thanks
jimspankling comments:
Ah I've fixed it!
enodekciw answers:
Your website loads two copies of jQuery. That's not OK.
Maybe you have hardcoded jQuery into your theme? Or the theme includes jQuery in a bad way? You should look through the functions.php of the theme, and check for wp_deregister_script / wp_register_script calls.
Best way to find that, would be just run CTRL+F search, for 'jquery-1.5.1.min.js' (as far as I can tell, this one is included by your theme - that's not OK). Probably you will find it in header.php or functions.php.
Or.. ..you can just delete js/jquery-1.5.1.min.js from your theme folder. That should fix JS errors, but will give you 404 error (cannot find resourse), until you remove it from the HTML.