[WordPress] 外掛分享: DS Gallery

首頁外掛目錄 › DS Gallery
10+
安裝啟用
尚無評分
4981 天前
最後更新
問題解決
WordPress 3.0+ v0.3 上架:2012-07-23

內容簡介

使用這個外掛導入圖庫很容易,只需將以下語句放入 PHP 模板之一中:
dsGalleryImages();

您也可以添加一些屬性來微調
您的結果。

dsGalleryImages($smSize,$linkSize,$ignoreFeatured,$extraClasses);
如果 $smSize 為空,將呈現「縮略圖」

如果 $linkSize 為空,將呈現「大圖」
(這還沒有使用)

如果 $ignoreFeatured 為空,將呈現 FALSE

如果 $extraClasses 為空,將呈現「」

您還可以在文章中添加短代碼
[dsGalleryImages]

短代碼也接受相同的屬性
[dsGalleryImages smSize=”medium”]

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「DS Gallery」→ 直接安裝(推薦)

原文外掛簡介

It is easy to pull in a gallery, just put this into one of your PHP templates:
dsGalleryImages();
You can also add in some attributes, to fine tune
your results.
dsGalleryImages($smSize,$linkSize,$ignoreFeatured,$extraClasses);
$smSize if blank will render “thumbnail”
$linkSize if blank will render “large”
(this is not in use yet)
$ignoreFeatured if blank will render FALSE
$extraClasses if blank will render “”
You can also add in shortcode into your post
[dsGalleryImages]
The shortcode also takes the same attributes
[dsGalleryImages smSize=”medium”]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon