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

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou 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/)

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

 * [Detalhes](https://br.wordpress.org/plugins/wp-headjs/#description)
 * [Avaliações](https://br.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/wp-headjs/#installation)
 * [Desenvolvimento](https://br.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

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

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

Colaboradores

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

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

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/wp-headjs/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/wp-headjs/) ou assine o [registro de desenvolvimento](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

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

## Classificações

Ainda não foi enviada nenhuma avaliação.

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

[Ver todas avaliações](https://wordpress.org/support/plugin/wp-headjs/reviews/)

## Colaboradores

 *   [ 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 contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://www.brianzeligson.com)