Plugin cause to load jquery in header section
-
Hey,
i use this code to force jquery to load in footer
if( !is_admin()){ wp_deregister_script('jquery'); wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"), false, '1.12.2', true); wp_enqueue_script('jquery'); }
but when i turn plugin on jQuery is going back to header section.
Any suggestions ?
- The topic ‘Plugin cause to load jquery in header section’ is closed to new replies.