Title: WP HeadJS
Author: Brian Zeligson
Published: <strong>17 ມິຖຸນາ 2012</strong>
Last modified: 17 ມິຖຸນາ 2012

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](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://lo.wordpress.org/plugins/wp-headjs/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/wp-headjs/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/wp-headjs/#installation)
 * [ການພັດທະນາ](https://lo.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” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດ
ທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

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

 *  ເວີຊັນ **0.1**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **14 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 2.9.1 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.2.1**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/wp-headjs/)
 * ແທັກ
 * [headjs](https://lo.wordpress.org/plugins/tags/headjs/)[javascript](https://lo.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://lo.wordpress.org/plugins/tags/wp_enqueue_script/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/wp-headjs/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/wp-headjs/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](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)