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

Asset Queue Manager

外掛說明

This tool allows you to monitor, dequeue and requeue scripts and styles that are enqueued on your site. It is designed for frontend performance engineers who want to view and manage all assets enqueued on any page and control the minification and concatenation themselves.

For background, please read Chris Coyier’s initial request.

Warning: This plugin makes it easy to break your site. Don’t use this unless you know what you’re doing.

How to use

Once the plugin is activated, browse to any page on the front of your site. An Assets link will appear on the top right of the admin bar. Click that to view and manage all assets.

Developers

Development takes place on GitHub. Patches welcome.

螢幕擷圖

  • View details about assets enqueued in the head or footer. Dequeue them or view them for copying and minifying on your own.
  • View details about assets that are being dequeued by this plugin. Requeue them or view them for copying and minifying on your own.

安裝方式

  1. Unzip asset-queue-manager.zip
  2. Upload the contents of asset-queue-manager.zip to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

I dequeued jQuery (or something I shouldn’t have) and now my site is broken

Go to the list of plugins in your admin panel. Find the Asset Queue Manager and click the “Restore Dequeued Assets” link.

使用者評論

閱讀全部 14 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Asset Queue Manager〉的開發相關工作。

參與者

將〈Asset Queue Manager〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.3 (2016-03-10)

  • Fix #5: issues with third-party code which extends native types. h/t @AndiDittrich of https://wordpress.org/plugins/enlighter/

1.0.2 (2016-02-17)

  • Fix #4: allow assets with dots in the handle to be managed

1.0.1 (2014-12-17)

  • Fix critical bug where assets were only dequeued for logged in users with the admin bar present

1.0 (2014-10-23)

  • Initial release