Posted By

josephknight on 06/30/10

Viewed 0 times

WordPress include real, unmodified jQuery


/ Published in: PHP


  1. wp_deregister_script('jquery');
  2. wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', array(/*name of script dependencies*/), '1.4.2', true /*load in footer?*/);
  3. wp_enqueue_script('jquery');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.