Title: WP HeadJS
Author: Brian Zeligson
Published: <strong>17 чэрвеня, 2012</strong>
Last modified: 17 чэрвеня, 2012

---

Пошук плагінаў

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# WP HeadJS

 Аўтар: [Brian Zeligson](https://profiles.wordpress.org/beezeee/)

[Спампаваць](https://downloads.wordpress.org/plugin/wp-headjs.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/wp-headjs/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/wp-headjs/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/wp-headjs/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/wp-headjs/)

## Апісанне

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/

## Ўсталёўка

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

## Водгукі

На гэты плагін няма водгукаў.

## Удзельнікі і распрацоўшчыкі

“WP HeadJS” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя
людзі ўнеслі свой уклад у гэты плагін.

Удзельнікі

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

[Перакласці “WP HeadJS” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/wp-headjs/), праверце
[SVN рэпазітарый](https://plugins.svn.wordpress.org/wp-headjs/), або падпішыцеся
на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/wp-headjs/) па [RSS](https://plugins.trac.wordpress.org/log/wp-headjs/?limit=100&mode=stop_on_copy&format=rss).

## Мета

 *  Версія **0.1**
 *  Апошняе абнаўленне **14 гадоў таму**
 *  Актыўных установак **10+**
 *  Версія WordPress ** 2.9.1 або вышэй **
 *  Правераны да версіі **3.2.1**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Тэгі
 * [headjs](https://bel.wordpress.org/plugins/tags/headjs/)[javascript](https://bel.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://bel.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/wp-headjs/advanced/)

## Ацэнкі

Пакуль яшчэ няма водгукаў.

[Ваш водгук](https://wordpress.org/support/plugin/wp-headjs/reviews/#new-post)

[Паглядзець усе водгукі](https://wordpress.org/support/plugin/wp-headjs/reviews/)

## Удзельнікі

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

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/wp-headjs/)

## Падтрымаць

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.brianzeligson.com)