This plugin made my site's jquery stop working
-
I have this site, running woocommerce, I’m using the standard and recommended way to call jquery by enqueuing it from functions.php. I check my site permanently to confirm that not extra jQueries are being loaded.
As soon as I installed this my entire site stopped working, I get the classic console error telling the
Property ‘$’ of object [object Object] is not a function
that shows up when a jquery conflict occurs.
The code I’m using to enqueue jQuery is the following:
if ( !is_admin() ) { wp_deregister_script('jquery'); wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"), false); wp_enqueue_script('jquery'); }
Does someone had this issue and solved it successfully? It even fails with WP standard themes.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘This plugin made my site's jquery stop working’ is closed to new replies.