feelfree82

Untitled

Jan 30th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. if ( !is_admin() ) {
  2.  
  3. wp_deregister_script('jquery');
  4. wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"), false);
  5. wp_enqueue_script('jquery');
  6.  
  7. // Loading slider script
  8. wp_register_script('jquery.flexslider', get_bloginfo('template_directory').'/js/libs/jquery.flexslider-min.js', array('jquery'));
  9. wp_enqueue_script('jquery.flexslider');
  10.  
  11. wp_register_script('jquery.masonry', get_bloginfo('template_directory').'/js/libs/jquery.masonry.min.js', array('jquery'));
  12. wp_enqueue_script('jquery.masonry');
  13.  
  14. wp_register_script('jquery.infinitescroll', get_bloginfo('template_directory').'/js/libs/jquery.infinitescroll.min.js', array('jquery'));
  15. wp_enqueue_script('jquery.infinitescroll');
  16.  
  17.  
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment