Posted By

josephknight on 06/30/10


Tagged

textmate google wordpress register script jquery


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vagrantradio


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  

You need to login to post a comment.