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

---

Priserĉi kromprogramojn

Tiu ĉi kromprogramo **ne estis testita en la 3 lastaj gravaj eldonoj de WordPress**.
Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj 
versioj de WordPress.

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

# WP HeadJS

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

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

 * [Detaloj](https://eo.wordpress.org/plugins/wp-headjs/#description)
 * [Pritaksoj](https://eo.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Instalo](https://eo.wordpress.org/plugins/wp-headjs/#installation)
 * [Programado](https://eo.wordpress.org/plugins/wp-headjs/#developers)

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

## Priskribo

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/

## Instalo

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

## Pritaksoj

There are no reviews for this plugin.

## Kontribuantoj k. programistoj

“WP HeadJS” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

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

[Traduki “WP HeadJS” en vian lingvon.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### Ĉu interesita en programado?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-headjs/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/wp-headjs/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wp-headjs/) by [RSS](https://plugins.trac.wordpress.org/log/wp-headjs/?limit=100&mode=stop_on_copy&format=rss).

## Metadatumoj

 *  Version **0.1**
 *  Last updated **antaŭ 14 jaroj**
 *  Active installations **10+**
 *  WordPress version ** 2.9.1 or higher **
 *  Tested up to **3.2.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Tags
 * [headjs](https://eo.wordpress.org/plugins/tags/headjs/)[javascript](https://eo.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://eo.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Altnivela rigardo](https://eo.wordpress.org/plugins/wp-headjs/advanced/)

## Pritaksoj

No reviews have been submitted yet.

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

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

## Kontribuantoj

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

## Helpo

Got something to say? Need help?

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

## Donaci

Ĉu vi volas subteni la pluevoluigon de tiu ĉi kromprogramo?

 [ Donaci al tiu ĉi kromprogramo ](http://www.brianzeligson.com)