[WordPress] 外掛分享: CSprite

首頁外掛目錄 › CSprite
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
1,000+
安裝啟用
尚無評分
4258 天前
最後更新
問題解決
WordPress 3.0.1+ v1.1 上架:2014-07-20

內容簡介

只需將圖示分別上傳到您的佈景主題的「images/csprite」資料夾。

前往 WordPress 儀表板 > 工具 > CSprite > 重建以重建精靈。

CSprite 將會將所有圖像結合成一個圖形,繁重的工作將由它完成。

它會在要排入佇列的樣式表中為您建立所有類別。

然後,您可以像這樣在佈景主題中使用精靈:

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

它會根據圖像名稱命名類別,因此請確保它們是唯一的。

更多關於此外掛的資訊請參閱 http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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:

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/

延伸相關外掛

文章
Filter
Mastodon