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

---

Ricerca i plugin

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

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

# WP HeadJS

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

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

 * [Dettagli](https://it.wordpress.org/plugins/wp-headjs/#description)
 * [Recensioni](https://it.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/wp-headjs/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/wp-headjs/#developers)

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

## Descrizione

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/

## Installazione

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

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“WP HeadJS” è un software open source. Le persone che hanno contribuito allo sviluppo
di questo plugin sono indicate di seguito.

Collaboratori

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

[Traduci “WP HeadJS” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/wp-headjs/) segui
il [repository SVN](https://plugins.svn.wordpress.org/wp-headjs/), segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/wp-headjs/)
tramite [RSS](https://plugins.trac.wordpress.org/log/wp-headjs/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versione **0.1**
 *  Ultimo aggiornamento **14 anni fa**
 *  Installazioni attive **10+**
 *  Versione WordPress ** 2.9.1 o superiore **
 *  Testato fino alla versione **3.2.1**
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Tag
 * [headjs](https://it.wordpress.org/plugins/tags/headjs/)[javascript](https://it.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://it.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/wp-headjs/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

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

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/wp-headjs/reviews/)

## Collaboratori

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

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/wp-headjs/)

## Donazioni

Vuoi sostenere le versioni future?

 [ Fai una donazione per lo sviluppo ](http://www.brianzeligson.com)