內容簡介
使用這個外掛導入圖庫很容易,只需將以下語句放入 PHP 模板之一中:
dsGalleryImages();
您也可以添加一些屬性來微調
您的結果。
dsGalleryImages($smSize,$linkSize,$ignoreFeatured,$extraClasses);
如果 $smSize 為空,將呈現「縮略圖」
如果 $linkSize 為空,將呈現「大圖」
(這還沒有使用)
如果 $ignoreFeatured 為空,將呈現 FALSE
如果 $extraClasses 為空,將呈現「」
您還可以在文章中添加短代碼
[dsGalleryImages]
短代碼也接受相同的屬性
[dsGalleryImages smSize=”medium”]
外掛標籤
開發者團隊
原文外掛簡介
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”]
