Title: CodeLibs
Author: Agnel Waghela
Published: <strong>6 de enero de 2012</strong>
Last modified: 11 de enero de 2012

---

Buscar plugins

![](https://ps.w.org/codelibs/assets/banner-772x250.png?rev=485716)

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/codelibs_181818.svg)

# CodeLibs

 Por [Agnel Waghela](https://profiles.wordpress.org/agnelwaghela/)

[Descargar](https://downloads.wordpress.org/plugin/codelibs.1.3.zip)

 * [Detalles](https://es-co.wordpress.org/plugins/codelibs/#description)
 * [Valoraciones](https://es-co.wordpress.org/plugins/codelibs/#reviews)
 *  [Instalación](https://es-co.wordpress.org/plugins/codelibs/#installation)
 * [Desarrollo](https://es-co.wordpress.org/plugins/codelibs/#developers)

 [Soporte](https://wordpress.org/support/plugin/codelibs/)

## Descripción

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:-**

 * **[form2js](https://github.com/maxatwork/form2js)**
 * **[Geo Location](http://code.google.com/p/geo-location-javascript)**
 * **[Modernizr.js](http://www.modernizr.com)**
 * **[URI.js](https://github.com/medialize/URI.js)**
 * **[Impress.js](https://github.com/bartaz/impress.js)**
 * **[Filer.js](https://github.com/ebidel/filer.js)**

_None of the js will be added even after the plugin is activated. You’ll have to
do this manually. Check the [Installation](https://wordpress.org/extend/plugins/codelibs/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:-**

 * **[form2js](https://github.com/maxatwork/form2js)**
 * **[Geo Location](http://code.google.com/p/geo-location-javascript)**
 * **[Modernizr.js](http://www.modernizr.com)**
 * **[URI.js](https://github.com/medialize/URI.js)**
 * **[Impress.js](https://github.com/bartaz/impress.js)**
 * **[Filer.js](https://github.com/ebidel/filer.js)**

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](http://twitter.com/agnel_waghela)

## Instalación

This section describes how to install the plugin and get it working.

 1. Upload `codelibs` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php include(ABSPATH."/wp-content/plugins/codelibs/func.php");
     CodeLibs('
    scriptname', 'version'); ?>
     in your templates.

_MarkUp to add scripts:-_

CodeLibs is a collection of all the necessary js required for development purposes.

With this plugin in your blog you can use any js framework for development. And 
whenever you feel like you can just copy that js to your theme’s or plugin’s js 
folder. If Your plugin or theme is completely dependent on this plugin then you 
can ask your theme or plugin user to download this plugin as well. This plugin is
created for meeting the development needs.

CodeLibs() is a Function Located in func.php file in the codelibs plugin.
 We are
just including it and calling as many times as we want. Once you have included you
can just call CodeLibs() any number of times with valid parameters.

 * 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](http://twitter.com/agnel_waghela)

## FAQ

  No Question?

Because, Its the 1st release.

## Reseñas

No hay reseñas para este plugin.

## Colaboradores y desarrolladores

«CodeLibs» es un software de código abierto. Las siguientes personas han colaborado
con este plugin.

Colaboradores

 *   [ Agnel Waghela ](https://profiles.wordpress.org/agnelwaghela/)

[Traduce «CodeLibs» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/codelibs)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/codelibs/) , echa 
un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/codelibs/) o suscríbete
al [registro de desarrollo](https://plugins.trac.wordpress.org/log/codelibs/) por
[RSS](https://plugins.trac.wordpress.org/log/codelibs/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.3

 * Added [form2js](https://github.com/maxatwork/form2js)

#### 1.2

 * Added [Geo Location Javascript](http://code.google.com/p/geo-location-javascript)

#### 1.1

 * Added the Best frameworks.
    **Latest Additions to this plugin:-**
 * **[Modernizr.js](http://www.modernizr.com)**
 * **[URI.js](https://github.com/medialize/URI.js)**
 * **[Impress.js](https://github.com/bartaz/impress.js)**
 * **[Filer.js](https://github.com/ebidel/filer.js)**

#### 1.0

 * 1st Release.

## Meta

 *  Versión **1.3**
 *  Última actualización **hace 14 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 3.2.1 o superior **
 *  Probado hasta **3.3.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/codelibs/)
 *  [Vista avanzada](https://es-co.wordpress.org/plugins/codelibs/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

[Your review](https://wordpress.org/support/plugin/codelibs/reviews/#new-post)

[Ver todos los comentarios](https://wordpress.org/support/plugin/codelibs/reviews/)

## Colaboradores

 *   [ Agnel Waghela ](https://profiles.wordpress.org/agnelwaghela/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/codelibs/)