cedaro/embed-jetpack-custom-css
最新稳定版本:v1.0.0
Composer 安装命令:
composer require cedaro/embed-jetpack-custom-css
包简介
A WordPress plugin to embed Jetpack Custom CSS in the document head to improve performance.
关键字:
README 文档
README
Embed Jetpack Custom CSS in the document head to improve performance.
Contributors: Brady Vercher
Requires: 4.0
Tested up to: 4.1
License: GPL-2.0+
Requires Jetpack.
Embed Jetpack Custom CSS moves CSS added using Jetpack's Custom CSS module to an inline <style> tag in the document head instead of using the default <link> reference.
This eliminates an extra HTTP request and prevents WordPress from being loaded twice for new visitors to improve front end performance.
Works best with short snippets of CSS.
There aren't any settings -- just install, activate, and you're good to go.
Installation
Upload
- Download the latest release from GitHub.
- Go to the Plugins → Add New screen in your WordPress admin panel and click the Upload button at the top next to the "Add Plugins" title.
- Upload the zipped archive.
- Click the Activate Plugin link after installation completes.
Manual
- Download the latest release from GitHub.
- Unzip the archive.
- Copy the folder to
/wp-content/plugins/. - Go to the Plugins → Installed Plugins screen in your WordPress admin panel and click the Activate link under the Embed Jetpack Custom CSS item.
Read the Codex for more information about installing plugins manually.
Git
Clone this repository in /wp-content/plugins/:
git clone git@github.com:cedaro/embed-jetpack-custom-css.git
Then go to the Plugins → Installed Plugins screen in your WordPress admin panel and click the Activate link under the Embed Jetpack Custom CSS item.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-02-19