[wordpress插件] CSS MinifyCSS缩小

wordpress 插件 文章 2020-04-06 04:20 461 0 全屏看文

AI助手支持GPT4.0

评分
74
描述

Minify and Optimize your CSS by clicking one button.

通过单击一个按钮来缩小和优化CSS。

All you have to do is go to Settings and click CSS Minify.

您所要做的就是转到“设置”,然后单击“ CSS Minify”。

Activating the plugin there will minify and optimize your CSS.

在那里激活插件将最小化和优化您的CSS。

No settings required, just click one button.

无需设置,只需单击一个按钮即可。

So anything you can do to speed up the load time of your site should be worth investigating, right?

因此,您可以采取任何措施来加快网站的加载时间,对吗?

One such thing is “minifying” the CSS files that are used in part to build your site.

这样的事情之一就是“缩小”部分用于构建站点的CSS文件。

As is typically the case, there is a plugin available that can do the job for you – Suprise: It’s this one!

通常情况下,有一个插件可以为您完成工作-Suprise:就是这样!

Code from this plugin is forked from Autoptimize a really great plugin.

此插件中的代码来自Autoptimize一个非常出色的插件。

You can find it by searching for it here on wordpress.org in the plugin search.

您可以通过在插件搜索中的wordpress.org上进行搜索来找到它。

    1. Upload the zip file and unzip it in the /wp-content/plugins/ directory.

      上传zip文件并将其解压缩到/ wp-content / plugins /目录中。

    2. Activate the plugin through the Plugins menu in WordPress

      通过WordPress中的“插件”菜单激活插件

    3. Go to Settings and then click CSS Minify and enable the options you want.

      转到“设置”,然后单击“ CSS缩小”并启用所需的选项。

安装步骤

    1. Upload the zip file and unzip it in the /wp-content/plugins/ directory.
    2. 上传zip文件并将其解压缩到/ wp-content / plugins /目录中。

    3. Activate the plugin through the Plugins menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Go to Settings and then click CSS Minify and enable the options you want.
    6. 转到“设置”,然后单击“ CSS缩小”并启用所需的选项。

下载地址
https://downloads.wordpress.org/plugin/css-optimizer.3.0.zip
-EOF-

AI助手支持GPT4.0