Title: WP HeadJS
Author: Brian Zeligson
Published: <strong>17 de junio de 2012</strong>
Last modified: 17 de junio de 2012

---

Buscar plugins

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/wp-headjs.svg)

# WP HeadJS

 Por [Brian Zeligson](https://profiles.wordpress.org/beezeee/)

[Descargar](https://downloads.wordpress.org/plugin/wp-headjs.zip)

 * [Detalles](https://es-mx.wordpress.org/plugins/wp-headjs/#description)
 * [Opiniones](https://es-mx.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Instalación](https://es-mx.wordpress.org/plugins/wp-headjs/#installation)
 * [Desarrollo](https://es-mx.wordpress.org/plugins/wp-headjs/#developers)

 [Soporte](https://wordpress.org/support/plugin/wp-headjs/)

## Descripción

This plugin uses the wp_print_scripts action hook, as opposed to output buffering
and regex used by alternative implementations.

The downside of this method is that only scripts loaded via wp_enqueue_script will
be affected by the plugin, the upside is better
 performance by avoiding output 
buffering on every page load.

The plugin will preserve any localizations added via wp_localize_script, and uses
the first parameter passed to wp_enqueue_script
 as the label for the script in 
the head.js call. For example,

    ```
    wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');
    ```

would show up as

    ```
    head.js({"jquery": "https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"});
    ```

This allows you to run callbacks when specific scripts are ready, such as

    ```
    head.ready('jquery', function() {
        //do something when jquery is loaded
    });
    ```

For more on HeadJS usage, see http://headjs.com/

## Instalación

The easiest way is via Plugins->Add New from the left sidebar of your WP Admin, 
just search for headjs.

## Reseñas

No hay reseñas para este plugin.

## Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este
plugin.

Colaboradores

 *   [ Brian Zeligson ](https://profiles.wordpress.org/beezeee/)

[Traduce “WP HeadJS” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### ¿Interesado en el desarrollo?

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

## Meta

 *  Versión **0.1**
 *  Última actualización **hace 14 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 2.9.1 o superior **
 *  Probado hasta **3.2.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Etiquetas:
 * [headjs](https://es-mx.wordpress.org/plugins/tags/headjs/)[javascript](https://es-mx.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://es-mx.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Vista avanzada](https://es-mx.wordpress.org/plugins/wp-headjs/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

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

[Ver todas las valoraciones](https://wordpress.org/support/plugin/wp-headjs/reviews/)

## Colaboradores

 *   [ Brian Zeligson ](https://profiles.wordpress.org/beezeee/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

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

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](http://www.brianzeligson.com)