No public Twitter messages.
  • facebook
  • twitter
  • linkedIn

Jquery Version in WordPress

  • March 29th,
  • by Razvan Gavril

WordPress comes by default with jquery, that’s good until you want to use some other version. A quick method would be to find out where wordpress stores the jquery js file and replace it, unfortunately that won’t be very helpful as it may get overwritten at the next upgrade or you may not have access to the actual wordpress installation as you’re developing a theme.

The safe way to do is to disable the default jquery version and load your own. To disable the default version call the wp_deregister_script before wp_head.

wp_deregister_script('jquery');
wp_head();

No Comments Post a comment ↓

Leave your comment: