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

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

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

# WP HeadJS

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

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

 * [Detalhes](https://pt.wordpress.org/plugins/wp-headjs/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/wp-headjs/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/wp-headjs/#developers)

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

## Descrição

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/

## Instalação

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

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“WP HeadJS” é software de código aberto. As seguintes pessoas contribuíram para 
este plugin:

Contribuidores

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

[Traduza o “WP HeadJS” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/wp-headjs/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/wp-headjs/), ou subscreva 
o [registo de alterações](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).

## Metadados

 *  Versão **0.1**
 *  Última actualização **Há 14 anos**
 *  Instalações activas **10+**
 *  Versão do WordPress ** 2.9.1 ou superior **
 *  Testado até **3.2.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Etiquetas
 * [headjs](https://pt.wordpress.org/plugins/tags/headjs/)[javascript](https://pt.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://pt.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/wp-headjs/advanced/)

## Classificações

Ainda não foram submetidas avaliações.

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

[See all reviews](https://wordpress.org/support/plugin/wp-headjs/reviews/)

## Contribuidores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/wp-headjs/)

## Doar

Gostaria de apoiar o desenvolvimento deste plugin?

 [ Fazer donativo para o plugin ](http://www.brianzeligson.com)