WordPress 3.5 jquery problem – please help
-
Hi,
after I made the update to 3.5 that creates problems with jquery in my wordpress theme, i have built-in the slider in my theme that uses jquery and after update i cant use widgets or sidebars, they are like frozen , i cant move it. but slider works, and if i delete some jquery files of slider then widgests and sidebars starts to work but then slider is not working. I use this technique for jquery :
wp_deregister_script( 'jquery' ); wp_register_script( 'jquery-new', get_template_directory_uri().'/library/js/jquery-1.6.1.min.js', array(), '1.6.1'); wp_enqueue_script ('jquery-new' ); wp_enqueue_script('jquery.ui', get_template_directory_uri().'/library/js/jquery-ui-1.8.13.custom.min.js'); // jQuery 1.6.1 bugfix wp_enqueue_script('jquery.backgroundPosition', get_template_directory_uri().'/library/js/jquery.backgroundPosition.js'); wp_enqueue_script('colorpicker.js', get_template_directory_uri().'/library/js/colorpicker.js'); wp_enqueue_script('cufon', get_template_directory_uri().'/library/js/cufon.js'); wp_enqueue_script('cufon-font', get_template_directory_uri().'/library/js/fonts/fertigo-pro.js'); wp_enqueue_script('pv-google-maps', 'http://maps.google.com/maps/api/js?sensor=false'); wp_enqueue_script('pv-contact-map', get_template_directory_uri() . '/library/js/map.js'); wp_enqueue_script('admin.js', get_template_directory_uri().'/library/js/admin.js'); }
Is this good or not ?
and the most important file of slider is admin.js
he looks like this :
please help
Thank you !!!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WordPress 3.5 jquery problem – please help’ is closed to new replies.