這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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/

評價

There are no reviews for this plugin.

貢獻者及開發者

“CSprite” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 CSprite 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1

  • Initial release