Title: WP HeadJS
Author: Brian Zeligson
Published: <strong>17.06.2012</strong>
Last modified: 17.06.2012

---

Търсене на разширения

Това разширение **не е обновявано повече от 2 години**. Може вече да не се поддържа
и да има проблеми със съвместимостта при използването му на по-нови версии на 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://bg.wordpress.org/plugins/wp-headjs/#description)
 * [Оценки](https://bg.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Инсталиране](https://bg.wordpress.org/plugins/wp-headjs/#installation)
 * [Разработка](https://bg.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.

## Отзиви

There are no reviews for this plugin.

## Сътрудници и разработчици

“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/), или абонамент 
към [програмната история (log)](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).

## Мета

 *  Version **0.1**
 *  Last updated **Преди 14 години **
 *  Active installations **10+**
 *  WordPress version ** 2.9.1 или по-висока **
 *  Tested up to **3.2.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Tags
 * [headjs](https://bg.wordpress.org/plugins/tags/headjs/)[javascript](https://bg.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://bg.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Разширен изглед](https://bg.wordpress.org/plugins/wp-headjs/advanced/)

## Оценки

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/)

## Сътрудници

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

## Поддръжка

Имате да кажете нещо? Имете нужда от помощ?

 [Разглеждане на форумите за поддръжка](https://wordpress.org/support/plugin/wp-headjs/)

## Дарение

Бихте ли желали да подкрепите успеха на разширението?

 [ Направете дарение за това разширение ](http://www.brianzeligson.com)