Title: Head.WP
Author: kylereicks
Published: <strong>21 Tháng 4, 2013</strong>
Last modified: 18 Tháng 2, 2014

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Head.WP

 Bởi [kylereicks](https://profiles.wordpress.org/kylereicks/)

[Tải về](https://downloads.wordpress.org/plugin/headwp.2.0.3.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/headwp/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/headwp/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/headwp/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/headwp/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/headwp/)

## Mô tả

Head.js is a script to asynchronously load and manage dependencies of javascript
and CSS assets.

This plugin loads the scripts and styles enqueued in footer with the head.js loader.
It does not include head.js’ feature detection.

Head.js.wp assumes that scripts are loaded via `wp_enqueue_script()` and that any
script enqueued in the `<head>` intends to be loaded before the rest of the page.

## Cài đặt

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

## Hỏi đáp

  Where are the plugin options?

There aren’t any, but the plugin counts on scripts being properly enqueued in the
footer with correctly listed dependencies. [See wp_enqueue_script in the Codex](https://codex.wordpress.org/Function_Reference/wp_enqueue_script).

  Why are my site’s scripts still loading conventionally (i.e. without head.js)?

There are a few reasons why a script might still be loaded conventionally.
 * Head.
WP ignores any scripts that are not added via `wp_enqueue_script()`. * Head.WP only
works with scripts enqueued in the footer, it assumes that any script enqueued in
the `<head>` intends to block the rest of the rest of the page from loading until
it is finished.

  Why are my other scripts not working as expected?

If a script has no dependencies, head.js will execute that script as soon it is 
loaded. To ensure that scripts are executed in the correct order, make sure to list
all required dependencies in `wp_enqueue_script()`.

  Is this plugin on GitHub?

Yes it is. [Head.WP](https://github.com/kylereicks/head.js.wp)

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Head.WP” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Head.WP” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/headwp)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/headwp/), check out [SVN repository](https://plugins.svn.wordpress.org/headwp/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/headwp/)
qua [RSS](https://plugins.trac.wordpress.org/log/headwp/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.0.3

 * Fix reference error when localizing scripts.

#### 2.0.2

 * Fix warning on log-in page.
 * Remove output when no scripts need to be loaded.

#### 2.0.1

 * Hotfix. Fix warning in shortcode class.
 * Add head.min and head.map to the svn repo.

#### 2.0.0

 * A complete rewrite. It really is much nicer now.
 * Update to head.js version 1.0.3

#### 1.0

 * Release 1.0.

## Meta

 *  Phiên bản **2.0.3**
 *  Cập nhật lần cuối **13 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 3.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.7.41**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/headwp/)
 * Thẻ
 * [async](https://vi.wordpress.org/plugins/tags/async/)[asynchronous](https://vi.wordpress.org/plugins/tags/asynchronous/)
   [headjs](https://vi.wordpress.org/plugins/tags/headjs/)[javascript](https://vi.wordpress.org/plugins/tags/javascript/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/headwp/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/headwp/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/headwp/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://shakopee.dollarsforscholars.org/)