CodeLibs

0

Most people either download or use google hosted js. But now you have all js. Add any js to your plugin or theme as per your requirements. Just two lines of code and add any version of

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
This plugin is outdated and might not be supported anymore.

Description

Most people either download or use google hosted js.
But now you have all js. Add any js to your plugin or theme as per your requirements.
Just two lines of code and add any version of any js. This plugin has all the version of the following :-

  • ChromeFrame
  • Dojo
  • Ext-Core
  • jQuery
  • jQueryUI
  • MooTools
  • ProtoType
  • Scriptaculous
  • SWFObject
  • WebFontLoader
  • YUI(only version 3.3.0)

Latest Additions to this plugin:-

None of the js will be added even after the plugin is activated. You’ll have to do this manually. Check the Installation if you dont understand what i mean!

Many More scripts will be added to this plugin in the later versions

Arbitrary section

Latest Additions to this plugin:-

MarkUp to add scripts:-

  • just do this –

  • or if you dont know the latest version no. just do this –

  • For Example, For your project if you want latest version of jQuery then do this –

OR

<?php include(ABSPATH."/wp-content/plugins/codelibs/func.php");
CodeLibs('jQuery', 'latest'); ?>
  • To Add more than one library use this simply as –

    <?php include(ABSPATH.”/wp-content/plugins/codelibs/func.php”); // just once
    CodeLibs(‘jQuery’, ‘latest’);


    CodeLibs(‘jQueryUI’,’latest’);


    CodeLibs(‘URI’,’latest’);

  • Any question, then contact me at AgnelWaghela