Title: WP HeadJS
Author: Brian Zeligson
Published: <strong>17 يونيو، 2012</strong>
Last modified: 17 يونيو، 2012

---

البحث عن الإضافات

هذه الإضافة **لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية**. قد لا
تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق
عند إستخدامها مع إصدارات حديثة من ووردبريس.

![](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://ar.wordpress.org/plugins/wp-headjs/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/wp-headjs/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/wp-headjs/#installation)
 * [التطوير](https://ar.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.

## المراجعات

لا توجد مراجعات لهذه الإضافة.

## المساهمون والمطوّرون

“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/)،
أو الاشتراك في [سجل التطوير](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).

## ميتا Meta

 *  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://ar.wordpress.org/plugins/tags/headjs/)[javascript](https://ar.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://ar.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/wp-headjs/advanced/)

## التقييم

لم يتم تقديم أي مراجعات بعد.

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