Support Forum
gonna need some more info... sounds like a js/jquery conflict... see: http://codex.simple-press.com/.....-conflict/
do you have link so we can look for obvious conflicts?
any errors in the browser console?
Visit Cruise Talk Central and Mr Papa's World
links are fine...
the link I gave you pretty much explains it... your theme is violating the wp standards and recommended usage..
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script>window.jQuery || document.write(unescape('%3Cscript src="http://www.grannyflatapprovals.com.au/wp-content/themes/5150studios/library/js/libs/jquery-1.7.1.min.js"%3E%3C/script%3E'))</script>
its loading jquery from an external site instead of using the jquery that come with wp... that is a recipe for failure with other wp plugins that use jquery and frankly, expect the wp version of jquery...
check your theme options and see if there is a way to force it to do it the wp way instead of loading that offsite jquery...
if not, see if you can find in your theme where its doing it wrong and we can help you fix it...
Visit Cruise Talk Central and Mr Papa's World
they should really be doing it the wp way... loading the local wp version via wp_enqueue_script()
http://codex.wordpress.org/Fun.....eue_script
let us know how it goes...
Visit Cruise Talk Central and Mr Papa's World
Hi Mr Papa,
Im having a similar issue however it looks like my site is loading the latest version of jquery:
<script type='text/javascript' src='http://code.jquery.com/jquery-.....?ver=3.5.2'></script>
Link: http://www.endlessflooring.co.nz/forum/
Any help would be much appreciated.
Thanks
no, thats improper... its loading jquery from an external source... it should load the jquery that ships with WordPress... noconflict and other things are problematic for wp plugins when jquery outside of the wp version is loade... plugin devs cannot test with all the external versions - we test with the jquery that COMES with wp...
if you can find where in your wp theme its doing that, we can help correct it...
or maybe your theme has an option to not load external jquery...
Visit Cruise Talk Central and Mr Papa's World
Looks like its loaded in theme-scripts.php, this was the original file:
<?php
function my_script() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', get_bloginfo('template_url').'/js/jquery-1.6.4.min.js', false, '1.6.4');
wp_enqueue_script('jquery');
wp_enqueue_script('modernizr', get_bloginfo('template_url').'/js/modernizr.js', array('jquery'), '2.0.6');
wp_enqueue_script('superfish', get_bloginfo('template_url').'/js/superfish.js', array('jquery'), '1.4.8');
wp_enqueue_script('prettyPhoto', get_bloginfo('template_url').'/js/jquery.prettyPhoto.js', array('jquery'), '3.1.2');
wp_enqueue_script('nivo', get_bloginfo('template_url').'/js/jquery.nivo.slider.js', array('jquery'), '2.5.2');
wp_enqueue_script('easytooltip', get_bloginfo('template_url').'/js/easyTooltip.js', array('jquery'), '1.0');
wp_enqueue_script('loader', get_bloginfo('template_url').'/js/jquery.loader.js', array('jquery'), '1.0');
wp_enqueue_script('cufon_yui', get_bloginfo('template_url').'/js/cufon-yui.js', array('jquery'), '1.09i');
wp_enqueue_script('Bebas_regular', get_bloginfo('template_url').'/js/Aller_italic_400.font.js', array('jquery'), '1.0');
wp_enqueue_script('cufon_replace', get_bloginfo('template_url').'/js/cufon-replace.js', array('jquery'), '1.0');
wp_enqueue_script('swfobject', get_bloginfo('url').'/wp-includes/js/swfobject.js', array('jquery'), '2.2');
wp_enqueue_script('cycleAll', get_bloginfo('template_url').'/js/jquery.cycle.all.js', array('jquery'), '2.99');
wp_enqueue_script('audiojs', get_bloginfo('template_url').'/js/audiojs/audio.js', array('jquery'), '1.0');
wp_enqueue_script('custom', get_bloginfo('template_url').'/js/custom.js', array('jquery'), '1.0');
}
}
add_action('init', 'my_script');
?>
I later modified it to this in order to get another plugin working which needed a later version of jquery:
<?php
function my_script() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, '');
wp_enqueue_script('jquery');
wp_enqueue_script('modernizr', get_bloginfo('template_url').'/js/modernizr.js', array('jquery'), '2.0.6');
wp_enqueue_script('superfish', get_bloginfo('template_url').'/js/superfish.js', array('jquery'), '1.4.8');
wp_enqueue_script('prettyPhoto', get_bloginfo('template_url').'/js/jquery.prettyPhoto.js', array('jquery'), '3.1.2');
wp_enqueue_script('nivo', get_bloginfo('template_url').'/js/jquery.nivo.slider.js', array('jquery'), '2.5.2');
wp_enqueue_script('easytooltip', get_bloginfo('template_url').'/js/easyTooltip.js', array('jquery'), '1.0');
wp_enqueue_script('loader', get_bloginfo('template_url').'/js/jquery.loader.js', array('jquery'), '1.0');
wp_enqueue_script('cufon_yui', get_bloginfo('template_url').'/js/cufon-yui.js', array('jquery'), '1.09i');
wp_enqueue_script('Bebas_regular', get_bloginfo('template_url').'/js/Aller_italic_400.font.js', array('jquery'), '1.0');
wp_enqueue_script('cufon_replace', get_bloginfo('template_url').'/js/cufon-replace.js', array('jquery'), '1.0');
wp_enqueue_script('swfobject', get_bloginfo('url').'/wp-includes/js/swfobject.js', array('jquery'), '2.2');
wp_enqueue_script('cycleAll', get_bloginfo('template_url').'/js/jquery.cycle.all.js', array('jquery'), '2.99');
wp_enqueue_script('audiojs', get_bloginfo('template_url').'/js/audiojs/audio.js', array('jquery'), '1.0');
wp_enqueue_script('custom', get_bloginfo('template_url').'/js/custom.js', array('jquery'), '1.0');
}
}
add_action('init', 'my_script');
?>
1 Guest(s)