[wordpress插件] DS GalleryDS Gallery

wordpress 插件 文章 2020-04-22 13:50 0 32 全屏看文
评分
0
描述

It is easy to pull in a gallery, just put this into one of your PHP templates:

插入图库很容易,只需将其放入您的PHP模板之一即可:

dsGalleryImages();

dsGalleryImages();

You can also add in some attributes, to fine tune

您还可以添加一些属性以进行微调

your results.

您的结果。

dsGalleryImages($smSize,$linkSize,$ignoreFeatured,$extraClasses);

dsGalleryImages($ smSize,$ linkSize,$ ignoreFeatured,$ extraClasses);

$smSize if blank will render “thumbnail”

$ smSize,如果为空白将呈现“缩略图”

$linkSize if blank will render “large”

$ linkSize(如果为空白,将呈现“大”)

(this is not in use yet)

(尚未使用)

$ignoreFeatured if blank will render FALSE

$ ignoreFeatured,如果空白将显示FALSE

$extraClasses if blank will render “”

$ extraClasses,如果为空白将呈现“”

You can also add in shortcode into your post

您也可以在您的帖子中添加简码

[dsGalleryImages]

[dsGalleryImages]

The shortcode also takes the same attributes

简码也具有相同的属性

[dsGalleryImages smSize=”medium”]

[dsGalleryImages smSize =“ medium”]

安装步骤

Add this to any PHP templates:

将此添加到任何PHP模板中:

dsGalleryImages();

dsGalleryImages();

You can also add in shortcode into your post

您也可以在您的帖子中添加简码

[dsGalleryImages]

[dsGalleryImages]

下载地址
https://downloads.wordpress.org/plugin/ds-gallery.zip
-EOF-