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

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

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

# WP HeadJS

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

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

 * [Szczegóły](https://pl.wordpress.org/plugins/wp-headjs/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/wp-headjs/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/wp-headjs/#developers)

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

## Opis

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/

## Instalacja

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

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„WP HeadJS” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój
wtyczki.

Zaangażowani

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

[Przetłumacz wtyczkę “WP HeadJS” na swój język.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/wp-headjs/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/wp-headjs/) lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/wp-headjs/)
przez [RSS](https://plugins.trac.wordpress.org/log/wp-headjs/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Wersja **0.1**
 *  Ostatnia aktualizacja **14 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 2.9.1 lub nowszej **
 *  Testowano do **3.2.1**
 *  Język
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Tagi
 * [headjs](https://pl.wordpress.org/plugins/tags/headjs/)[javascript](https://pl.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://pl.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/wp-headjs/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

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

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

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/wp-headjs/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://www.brianzeligson.com)