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

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

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

# WP HeadJS

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

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

 * [Podrobnosti](https://cs.wordpress.org/plugins/wp-headjs/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/wp-headjs/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/wp-headjs/#developers)

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

## Popis

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/

## Instalace

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

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

WP HeadJS je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

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

[Přeložte “WP HeadJS” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/wp-headjs/), podívejte
se do [SVN repozitáře](https://plugins.svn.wordpress.org/wp-headjs/), nebo se přihlaste
k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/wp-headjs/) pomocí
[RSS](https://plugins.trac.wordpress.org/log/wp-headjs/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Verze **0.1**
 *  Poslední aktualizace **před 14 roky**
 *  Aktivních instalací **10+**
 *  Verze WordPressu ** 2.9.1 nebo novější **
 *  Testováno až do WordPressu **3.2.1**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Štítky
 * [headjs](https://cs.wordpress.org/plugins/tags/headjs/)[javascript](https://cs.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://cs.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/wp-headjs/advanced/)

## Hodnocení

Zatím nebyly zadány žádné recenze.

[Vaše hodnocení](https://wordpress.org/support/plugin/wp-headjs/reviews/#new-post)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/wp-headjs/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/wp-headjs/)

## Dary

Chtěli byste podpořit vývoj tohoto pluginu?

 [ Přispět na tento plugin ](http://www.brianzeligson.com)