Posted By

scottnix on 10/06/11


Tagged

library wordpress jquery ui thematic CDN jQTools


Versions (?)

WordPress Swap jQuery for jQTools UI


 / Published in: PHP
 

Swap Wordpress jQuery for http://flowplayer.org/tools/ UI library combined (and minified) with latest jQuery. (http://flowplayer.org/tools/download/index.html#cdn)

  1. // swap wordpress jquery for jqtools ui combined with latest jquery
  2. function swap_jquery_for_jqtools() {
  3. wp_deregister_script('jquery');
  4. wp_enqueue_script('jquery', ("http://cdn.jquerytools.org/1.2.6/jquery.tools.min.js"), false, '1.2.6', true);
  5. }
  6. add_action('wp_enqueue_scripts', 'swap_jquery_for_jqtools');

Report this snippet  

You need to login to post a comment.