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

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# WP HeadJS

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

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

 * [Details](https://nl.wordpress.org/plugins/wp-headjs/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/wp-headjs/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/wp-headjs/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/wp-headjs/#developers)

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

## Beschrijving

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/

## Installatie

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

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“WP HeadJS” is open source software. De volgende personen hebben bijgedragen aan
deze plugin.

Bijdragers

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

[Vertaal “WP HeadJS” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/wp-headjs)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/wp-headjs/), haal de
[SVN repository](https://plugins.svn.wordpress.org/wp-headjs/) op, of abonneer je
op het [ontwikkellog](https://plugins.trac.wordpress.org/log/wp-headjs/) via [RSS](https://plugins.trac.wordpress.org/log/wp-headjs/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versie **0.1**
 *  Laatst geüpdatet **14 jaar geleden**
 *  Actieve installaties **10+**
 *  WordPress versie ** 2.9.1 of nieuwer **
 *  Getest t/m **3.2.1**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * Tags
 * [headjs](https://nl.wordpress.org/plugins/tags/headjs/)[javascript](https://nl.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://nl.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/wp-headjs/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

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

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/wp-headjs/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/wp-headjs/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](http://www.brianzeligson.com)