Tagged: jQuery, LayerSlider, LayerSlider WP
I am having an number of issues with Enfold 3.8 and Formidable Pro. One issues is that there is an old version of jQuery being enqueued in the following files:
enfold > config-layerslider > LayerSlider_old > wp > scripts.php line 18 & 80
enfold > config-layerslider > LayerSlider > wp > scripts.php line 20 & 81
// Use Gogole CDN version of jQuery
if(get_option('ls_use_custom_jquery', false)) {
wp_deregister_script('jquery');
wp_enqueue_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', array(), '1.8.3');
}
enfold > framework > php > avia_shortcodes > av_prev.php line 26
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" ></script>
It seems that it’s the layerslider that is hijacking the jquery. Is there a reason for such an old version of jquery?
Just solved this issue.
This force-loading an old version of jQuery can be turned off by navigating to:
Dashboard > LayerSlider WP > Scroll to the bottom of the page > Advanced Tab
and turn off the foolish feature:
Use Google CDN version of jQuery (on/off) This option will likely solve “Old jQuery” issues.
Shame on you LayerSlider WP.
Issue can be marked as resolved.
Hi,
Glad that you fixed it and sharing the solution :)
Best regards,
Nikko