该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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. 通过WordPress的的“Plugins”菜单激活插件

常见问题

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