[wordpress插件] CSpriteCSprite

wordpress 插件 文章 2020-04-06 00:00 566 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Simply upload your icons individually to your theme’s “images/csprite” folder.

只需将图标分别上传到主题的“图像/ csprite”文件夹中即可。

Go to WordPress Dashboard > Tools > CSprite > Rebuild to rebuild the sprite.

转到WordPress信息中心>工具> CSprite>重建以重建精灵。

CSprite will do all the hard work of combining all the images into a single graphic.

CSprite将完成所有将所有图像组合成单个图形的艰苦工作。

It will create all the classes for you in the enqueued stylesheet.

它将在排队的样式表中为您创建所有类。

You can then simply use the sprite in your theme like this:

然后您可以像这样简单地在主题中使用精灵:

It will name the classes according to the image names, so make sure that they are unique.

它将根据图像名称命名类,因此请确保它们是唯一的。

Read more about this plugin at http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/

在http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/ 上了解有关此插件的更多信息。

安装步骤

To install the plugin from your WordPress admin dashboard:

要从WordPress管理信息中心安装插件,请执行以下操作:

    1. Plugins > Add New
    2. 插件>添加新内容

    3. Search for CSprite
    4. 搜索CSprite

    5. Install Now > Activate
    6. 立即安装>激活

    To install the plugin from your computer:

    要从计算机上安装插件,请执行以下操作:

      1. Download the .zip file to your computer from http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/
      2. 从http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/ 将.zip文件下载到您的计算机中。

      3. Upload it through Plugins > Add New > Upload > Find the zip file
      4. 通过插件>添加新文件>上传>查找zip文件

      5. Upload > Activate
      6. 上传>激活

下载地址
https://downloads.wordpress.org/plugin/csprite.zip
-EOF-

AI助手支持GPT4.0