Title: HeadJS Loader
Author: durin
Published: <strong>کانوونی دووەم 25, 2011</strong>
Last modified: کانوونی دووەم 25, 2013

---

گەڕان لە پێوەکراوەکان

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/headjs-loader.svg)

# HeadJS Loader

 لەلایەن [durin](https://profiles.wordpress.org/durin/)

[داگرتن](https://downloads.wordpress.org/plugin/headjs-loader.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/headjs-loader/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/headjs-loader/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/headjs-loader/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/headjs-loader/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/headjs-loader/)

## وەسف

This plugin reformats your page to utilize [Head JS](http://headjs.com) in your 
WordPress site.

**Caution: this plugin can cause major issues with the javascript on your site if
not implemented properly. Please be sure to test on a development server first**

It strips out all your old javascript declarations and puts them into head.js calls
so that they are loaded in parallel (see the Head JS website for more details).

Optionally you can wrap all your inline javascript with head.ready calls.

For example, this:

    ```
    <script type='text/javascript' src='http://yoururl.com/wp-includes/js/prototype.js?ver=1.6.1'></script> 
    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js?ver=3.0.4'></script> 
    <script type='text/javascript' src='http://yoururl.com/wp-includes/js/scriptaculous/wp-scriptaculous.js?ver=1.8.3'></script> 
    <script type='text/javascript' src='http://yoururl.com/wp-includes/js/scriptaculous/builder.js?ver=1.8.3'></script> 
    <script type='text/javascript' src='http://yoururl.com/wp-includes/js/scriptaculous/effects.js?ver=1.8.3'></script> 
    <script type='text/javascript' src='http://yoururl.com/wp-includes/js/scriptaculous/dragdrop.js?ver=1.8.3'></script> 
    <script type='text/javascript' src='http://yoururl.com/wp-includes/js/scriptaculous/slider.js?ver=1.8.3'></script> 
    <script type='text/javascript' src='http://yoururl.com/wp-includes/js/scriptaculous/controls.js?ver=1.8.3'></script> 
    ```

Becomes:

    ```
    <script type="text/javascript" src="http://yoururl.com/wp-content/plugins/headjs-loader/js/head.min.js"></script> 
    <script> 
    head.js("http://yoururl.com/wp-includes/js/prototype.js?ver=1.6.1",
        "http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js?ver=3.0.4",
        "http://yoururl.com/wp-includes/js/scriptaculous/wp-scriptaculous.js?ver=1.8.3",
        "http://yoururl.com/wp-includes/js/scriptaculous/builder.js?ver=1.8.3",
        "http://yoururl.com/wp-includes/js/scriptaculous/effects.js?ver=1.8.3",
        "http://yoururl.com/wp-includes/js/scriptaculous/dragdrop.js?ver=1.8.3",
        "http://yoururl.com/wp-includes/js/scriptaculous/slider.js?ver=1.8.3",
        "http://yoururl.com/wp-includes/js/scriptaculous/controls.js?ver=1.8.3"
    );
    </script> 
    ```

Feel free to contribue to the project on [GitHub](http://github.com/ChuckMac/wp-headjs-loader)!

## دامەزراندن

 1. Upload `headjs-loader` directory to `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## پهد

  No questions

No answers.

## پێداچوونەوەکان

هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.

## بەشداربووان و گەشەپێدەران

“HeadJS Loader” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا
کردووە.

بەشداربووان

 *   [ durin ](https://profiles.wordpress.org/durin/)

[“HeadJS Loader” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/headjs-loader)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/headjs-loader/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/headjs-loader/) بکە، یان
بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/headjs-loader/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/headjs-loader/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

#### 0.1.1

 * Fixed bug that caused apache erorr messages if no javascript was declared.

#### 0.1

 * Initial release.

## مێتا

 *  وەشان **0.2**
 *  دوایین بەڕۆژکردنەوە **14 ساڵ لەمەوبەر**
 *  دامەزراندنی چالاک **10+**
 *  وەشانی وۆردپرێس ** 3.0 یان بەرزتر **
 *  تاقیکراوەتەوە تا **3.5.2**
 *  زمان
 * [English (US)](https://wordpress.org/plugins/headjs-loader/)
 * تاگەکان
 * [css](https://ku.wordpress.org/plugins/tags/css/)[javascript](https://ku.wordpress.org/plugins/tags/javascript/)
   [JS](https://ku.wordpress.org/plugins/tags/js/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/headjs-loader/advanced/)

## هەڵسەنگاندنەکان

 3 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/headjs-loader/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/headjs-loader/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/headjs-loader/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/headjs-loader/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/headjs-loader/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/headjs-loader/reviews/#new-post)

[بینینی هەموو پێداچوونەوەکان](https://wordpress.org/support/plugin/headjs-loader/reviews/)

## بەشداربووان

 *   [ durin ](https://profiles.wordpress.org/durin/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/headjs-loader/)

## ببەخشە

دەتەوێت پشتگیریی بەرەوپێشچوونی ئەم پێوەکراوە بکەیت؟

 [ ببەخشە بەم پێوەکراوە ](http://chuckmac.info/)