Linux 软件免费装
Banner图

Dequeue Font Awesome

开发者 tiguan
更新时间 2014年9月4日 22:51
捐献地址: 去捐款
PHP版本: 3.6 及以上
WordPress版本: 4.0
版权: GPLv2 or later
版权网址: 版权信息

标签

performance Font Awesome CDN dequeue dequeue stylesheet http requests dequeue style enqueue Font Awesome

下载

1.0 1.1

详情介绍:

Dequeue Font Awesome is a very lightweight plugin that will remove all Font Awesome stylesheets added to your theme by certain plugins, to not be loaded by several times, if your theme already make use of Font Awesome. For instance, if you use a theme that use Font Awesome and you also have 2 active plugins (e.g. social icons, menu icons) that both load Font Awesome too, you will end up with 3 font-awesome.css stylesheets loaded. But you only need one. This plugin helps you to always load only one Font Awesome. Main Feature Dequeue Font Awesome plugin aims to reduce the number of HTTP requests (for performance reasons) generated by certain plugins that loads extra Font Awesome stylesheet to your theme, even if your theme already uses Font Awesome.
You wouldn't want to see Font Awesome loaded several times in your header, bloating your theme unnecessarily.
Important Note Dequeue Font Awesome plugin can be also used safely as a smart way to enqueue Font Awesome stylesheet from CDN, even if your theme doesn't use it yet. So there is no need to find out if your theme already uses Font Awesome, the plugin will load it only once anyway, thus preventing any additional HTTP requests generated by other plugins that uses Font Awesome too.

安装:

  1. Download the plugin (.zip file) on your hard drive.
  2. Unzip the zip file contents.
  3. Upload the dequeue-font-awesome folder to the /wp-content/plugins/ directory.
  4. Activate the plugin through the 'Plugins' menu in WordPress.
NOTE: there are no plugin settings page so don’t be alarmed :)

屏幕截图:

  • Page source view before activating the plugin.
  • Page source view after activating the plugin.

更新日志:

1.1 1.0