该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

CSprite

描述

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

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

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

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

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

<div class="csprite csprite-creatomatic_logo"></div>

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/

安装

To install the plugin from your WordPress admin dashboard:

  1. Plugins > Add New
  2. Search for CSprite
  3. Install Now > Activate

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. Upload it through Plugins > Add New > Upload > Find the zip file
  3. Upload > Activate

常见问题

See http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/

评价

此插件暂无评价。

贡献者及开发者

“CSprite” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“CSprite”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

  • Initial release