Title: Head.WP
Author: kylereicks
Published: <strong>2013 年 4 月 21 日</strong>
Last modified: 2014 年 2 月 18 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Head.WP

 由 [kylereicks](https://profiles.wordpress.org/kylereicks/) 開發

[下載](https://downloads.wordpress.org/plugin/headwp.2.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/headwp/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/headwp/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/headwp/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/headwp/#developers)

 [技術支援](https://wordpress.org/support/plugin/headwp/)

## 外掛說明

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.

## 安裝方式

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

## 常見問題集

  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)

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Head.WP〉的開發相關工作。

參與者

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

[將〈Head.WP〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/headwp)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/headwp/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/headwp/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/headwp/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/headwp/)。

## 變更記錄

#### 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.

## 中繼資料

 *  版本 **2.0.3**
 *  最後更新 **12 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.7.41**
 *  語言
 * [English (US)](https://wordpress.org/plugins/headwp/)
 * 標籤:
 * [async](https://tw.wordpress.org/plugins/tags/async/)[asynchronous](https://tw.wordpress.org/plugins/tags/asynchronous/)
   [headjs](https://tw.wordpress.org/plugins/tags/headjs/)[javascript](https://tw.wordpress.org/plugins/tags/javascript/)
 *  [進階檢視](https://tw.wordpress.org/plugins/headwp/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/headwp/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/headwp/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://shakopee.dollarsforscholars.org/)