Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( !is_admin() ) {
- wp_deregister_script('jquery');
- wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"), false);
- wp_enqueue_script('jquery');
- // Loading slider script
- wp_register_script('jquery.flexslider', get_bloginfo('template_directory').'/js/libs/jquery.flexslider-min.js', array('jquery'));
- wp_enqueue_script('jquery.flexslider');
- wp_register_script('jquery.masonry', get_bloginfo('template_directory').'/js/libs/jquery.masonry.min.js', array('jquery'));
- wp_enqueue_script('jquery.masonry');
- wp_register_script('jquery.infinitescroll', get_bloginfo('template_directory').'/js/libs/jquery.infinitescroll.min.js', array('jquery'));
- wp_enqueue_script('jquery.infinitescroll');
- }
Advertisement
Add Comment
Please, Sign In to add comment