网格,滑块或轮播 strong>视图中,在网站的前端显示相册和图片库。With the help of the gallery plugin, you can add multiple images for an attractive look to your website.
借助Gallery插件,您可以将多个图像添加到您的网站上,以吸引人的眼神。
A quite simple yet spontaneous plugin feature that helps with wonders for your web space.
一个非常简单但自发的插件功能,可帮助您解决Web空间的奇迹。 p>
Check Demo and Features for additional information
检查演示和功能以获取更多信息
.
p>
Gallery Plugin enables you to create several media such as image gallery, photo albums, portfolio and also simple picture to an image slider or image lightbox and image carousel.
Gallery插件使您可以创建多种媒体,例如图库,相册,作品集以及图像滑块或图像灯箱和图像轮播的简单图片。 p>
Also work with Gutenberg shortcode block.
还可以使用Gutenberg短代码块。 strong> p>This plugin contain four shortcode
此插件包含四个简码 strong> p>Here is the shortcode example
这是简码示例 h4>
[aigpl-gallery] [aigpl-gallery]
code> pre>
- ID: [aigpl-gallery id=”5″] (Gallery id for which you want to display images.)
- ID: strong> [aigpl-gallery id =” 5”](要为其显示图像的画廊ID。) li>
- Grid: [aigpl-gallery grid=”1″] (Number of columns for image gallery. Values are 1 to 12)
- 网格: strong> [aigpl-gallery grid =” 1”](图片库的列数。值是1到12) li>
- Link Behaviour: [aigpl-gallery link_target=”self”] (Choose link behaviour. Values are “self” OR “blank”)
- 链接行为: strong>:[aigpl-gallery link_target =“ self”](选择链接行为。值是“ self”或“ blank”) li>
- Gallery Height: [aigpl-gallery gallery_height=”400″] (Control height of the image. You can enter any numeric number. You can set “auto” for auto height.)
- 画廊高度: strong>:[aigpl-gallery gallery_height =“ 400”](控制图像的高度。您可以输入任何数字。可以将“ auto”设置为自动高度。)
li>
li>
- Display Title: [aigpl-gallery show_title=”true”] (Display image title or not. Values are “true” OR “false”)
- 显示标题: strong> [aigpl-gallery show_title =“ true”]](是否显示图像标题。值为“ true”或“ false”) li>
- Display Description: [aigpl-gallery show_description=”true”] (Display image description. Values are “true” OR “false”)
- 显示说明 strong>:[aigpl-gallery show_description =“ true”](显示图像说明。值为“ true”或“ false”) li>
- Display Caption: [aigpl-gallery show_caption=”true”] (Display image caption. Values are “true” OR “false”)
- 显示标题 strong>:[aigpl-gallery show_caption =“ true”](显示图像标题。值为“ true”或“ false”) li>
- Image Size: [aigpl-gallery image_size=”full”] (Choose appropriate image size from the WordPress. Values are “full”, “medium”, “large” OR “thumbnail”.
- 图像大小: strong> [aigpl-gallery image_size =“ full”](从WordPress中选择适当的图像大小。值包括“ full”,“ medium”,“ large”或“ thumbnail”。
)
) li>
- Popup: [aigpl-gallery popup=”true”] (Display gallery image in a popup. Values are “true” OR “false”)
- 弹出窗口 strong>:[aigpl-gallery popup =“ true”](在弹出窗口中显示画廊图像。值为“ true”或“ false”) li>
ul>
Use Following Gallery Slider parameters with shortcode
使用以下带有简短代码的Gallery Slider参数 h4>
[aigpl-gallery-slider] [aigpl-gallery-slider]
code> pre>
- ID: [aigpl-gallery-slider id=”5″] (Gallery id for which you want to display images.)
- ID: strong> [aigpl-gallery-slider id =” 5”](要为其显示图像的画廊ID。) li>
- Link Behaviour: [aigpl-gallery-slider link_target=”self”] (Choose link behaviour. Values are “self” OR “blank”)
- 链接行为: strong>:[aigpl-gallery-slider link_target =“ self”](选择链接行为。值是“ self”或“ blank”) li>
- Gallery Height: [aigpl-gallery-slider gallery_height=”400″] (Control height of the image. You can enter any numeric number. You can set “auto” for auto height.)
- 画廊高度: strong>:[aigpl-gallery-slider gallery_height =“ 400”](控制图像的高度。您可以输入任何数字。可以将“ auto”设置为自动高度。)
li>
- Display Title: [aigpl-gallery-slider show_title=”true”] (Display image title or not. Values are “true” OR “false”)
- 显示标题: strong> [aigpl-gallery-slider show_title =“ true”]](是否显示图像标题。值为“ true”或“ false”) li>
- Display Description: [aigpl-gallery-slider show_description=”true”] (Display image description. Values are “true” OR “false”)
- 显示说明: strong> [aigpl-gallery-slider show_description =“ true”](显示图像说明。值为“ true”或“ false”) li>
- Display Caption: [aigpl-gallery-slider show_caption=”true”] (Display image caption. Values are “true” OR “false”)
- 显示标题 strong>:[aigpl-gallery-slider show_caption =“ true”](显示图像标题。值为“ true”或“ false”) li>
- Image Size: [aigpl-gallery-slider image_size=”full”] (Choose appropriate image size from the WordPress. Values are “full”, “medium”, “large” OR “thumbnail
- 图像大小: strong> [aigpl-gallery-slider image_size =“ full”](从WordPress中选择适当的图像大小。值包括“ full”,“ medium”,“ large”或“ thumbnail”
”.)
”。 li>
- Popup: [aigpl-gallery-slider popup=”true”] (Display gallery image in a popup. Values are “true” OR “false”)
- 弹出窗口 strong>:[aigpl-gallery-slider popup =“ true”]](在弹出窗口中显示图库图像。值为“ true”或“ false”) li>
- Slider Columns: [aigpl-gallery-slider slidestoshow=”2″] (Display number of images at a time in slider.)
- 滑块列 strong>:[aigpl-gallery-slider slidestoshow =” 2”](在滑块中一次显示图像数。) li>
- Slides to Scroll: [aigpl-gallery-slider slidestoscroll=”2″] (Scroll number of images at a time.)
- 幻灯片可滚动 strong>:[aigpl-gallery-slider slidestoscroll =” 2”](一次滚动显示图片数量。) li>
- Slider Pagination and Arrows: [aigpl-gallery-slider dots=”false” arrows=”false”]
- 滑块分页和箭头 strong>:[aigpl-gallery-slider点=“假”箭头=“假”] li>
- Autoplay: [aigpl-gallery-slider autoplay=”true”] (Start slider automatically. Values are “true” OR “false”.)
- 自动播放 strong>:[aigpl-gallery-slider autoplay =“ true”](自动启动滑块。值为“ true”或“ false”。) li>
- Autoplay Interval: [aigpl-gallery-slider autoplay_interval=”3000″] (Delay between two slides.)
- 自动播放间隔 strong>:[aigpl-gallery-slider autoplay_interval =“ 3000”](两张幻灯片之间的延迟。) li>
- Slider Speed: [aigpl-gallery-slider speed=”3000″] (Control speed of slider.)
- 滑块速度 strong>:[aigpl-gallery-slider速度=“ 3000”](滑块的控制速度。) li>
- Loop: [aigpl-gallery-slider loop=”true”] (Infinite Loop.)
- 循环 strong>:[aigpl-gallery-slider loop =“ true”](无限循环) li>
ul>
Use Following Gallery Album parameters with shortcode
使用带有简短代码的“跟随相册专辑”参数 h4>
[aigpl-gallery-album] [aigpl-gallery-album]
code> pre>
- Limit: [aigpl-gallery-album limit=”5″] (Gallery id for which you want to display images.)
- 限制: strong> [aigpl-gallery-album limit =” 5”](要为其显示图像的画廊ID。) li>
- Album Grid: [aigpl-gallery-album album_grid=”3″] (Number of columns for image album. Values are 1 to 12.)
- 相册网格 strong>:[aigpl-gallery-album album_grid =” 3”](相册的列数。值为1到12。) li>
- Link Behaviour: [aigpl-gallery-album album_link_target=”self”] (Choose link behaviour whether to open in a new tab or not. Values are “self” OR “blank”)<
- 链接行为: strong>:[aigpl-gallery-album album_link_target =” self”](选择链接行为是否在新标签页中打开。值是“ self”或“ blank”)<
/li>
/ li>
- Album Height: [aigpl-gallery-album album_height=”400″] (Control height of the album. You can enter any numeric number.)
- 相册高度: strong> [aigpl-gallery-album album_height =“ 400”](控制相册的高度。您可以输入任何数字。) li>
- Album Title: [aigpl-gallery-album album_title=”true”] (Display album title. Values are “true” or “false”.)
- 相册标题: strong> [aigpl-gallery-album album_title =” true”](显示相册标题。值为“ true”或“ false”。) li>
- Album Description: [aigpl-gallery-album album_description=”true”] (Display album description. Values are “true” or “false”.)
- 相册说明: strong> [aigpl-gallery-album album_description =“ true”](显示相册说明。值是“ true”或“ false”。) li>
- Album Full Content: [aigpl-gallery-album album_full_content=”true”] (Display album full description. Values are “true” or “false”.)
- 相册的完整内容 strong>:[aigpl-gallery-album album_full_content =“ true”](显示相册的完整说明。值为“ true”或“ false”。) li>
- Words Limit: [aigpl-gallery-album words_limit=”40″] (Display number of words for album description.)
- 单词数限制 strong>:[aigpl-gallery-album words_limit =“ 40”](显示专辑说明的单词数。) li>
- Content Tail (Continue Reading): [aigpl-gallery-album content_tail=”…”] (Display three dots as a contineous reading.)
- 尾部内容(继续阅读) strong>:[aigpl-gallery-album content_tail =“…”](显示三个点作为连续阅读。) li>
- Display Specific Album: [aigpl-gallery-album id=”5,10″] (Display specific album.)
- 显示特定的相册 strong>:[aigpl-gallery-album id =” 5,10”](显示特定的相册。) li>
- Display By Category: [aigpl-gallery-album category=”category_id”] (Display album by their category ID.)
- 按类别显示 strong>:[aigpl-gallery-album category =” category_id”](按类别ID显示相册。) li>
- Total Photo Label: [aigpl-gallery-album total_photo=”{total} Photos”] (Control photo count label. “{total}” will replace the number of album photos.)<
- 总照片标签: strong>:[aigpl-gallery-album total_photo =” {total}张照片”](控制照片计数标签。“ {total}”将替换相册照片的数量。)<
/li>
/ li>
- Popup: [aigpl-gallery-album popup=”true”] (Display gallery image in a popup. Values are “true” OR “false”)
- 弹出窗口 strong>:[aigpl-gallery-album popup =” true”](在弹出窗口中显示画廊图像。值为“ true”或“ false”) li>
- Grid: [aigpl-gallery-album grid=”1″] (Number of columns for image gallery. Values are 1 to 12)
- 网格: strong> [aigpl-gallery-album grid =” 1”](图片库的列数。值是1到12) li>
- Gallery Height: [aigpl-gallery-album gallery_height=”400″] (Control height of the image. You can enter any numeric number. You can set “auto” for auto height.)
- 画廊高度: strong>:[aigpl-gallery-album gallery_height =“ 400”](控制图像的高度。您可以输入任何数字。可以将“ auto”设置为自动高度。)
li>
- Display Caption: [aigpl-gallery-album show_caption=”true”] (Display image caption. Values are “true” OR “false”)
- 显示标题: strong> [aigpl-gallery-album show_caption =“ true”](显示图像标题。值为“ true”或“ false”) li>
- Link Behaviour: [aigpl-gallery-album link_target=”self”] (Choose link behaviour. Values are “self” OR “blank”)
- 链接行为: strong>:[aigpl-gallery-album link_target =“ self”](选择链接行为。值是“ self”或“ blank”) li>
- Display Title: [aigpl-gallery-album show_title=”true”] (Display image title or not. Values are “true” OR “false”)
- 显示标题: strong> [aigpl-gallery-album show_title =“ true”]](是否显示图像标题。值为“ true”或“ false”) li>
- Display Description: [aigpl-gallery-album show_description=”true”] (Display image description. Values are “true” OR “false”)
- 显示说明: strong> [aigpl-gallery-album show_description =“ true”](显示图像说明。值为“ true”或“ false”) li>
- Popup: [aigpl-gallery-album popup=”true”] (Display gallery image in a popup. Values are “true” OR “false”)
- 弹出窗口 strong>:[aigpl-gallery-album popup =” true”](在弹出窗口中显示画廊图像。值为“ true”或“ false”) li>
- Image Size: [aigpl-gallery-album image_size=”full”] (Choose appropriate image size from the WordPress. Values are “full”, “medium”, “large” OR “thumbnail
- 图像大小: strong> [aigpl-gallery-album image_size =“ full”](从WordPress中选择适当的图像大小。值包括“ full”,“ medium”,“ large”或“ thumbnail”
”.)
”。 li>
ul>
Use Following Gallery Album Slider parameters with shortcode
使用以下带有简短代码的Gallery Album Slider参数 h4>
[aigpl-gallery-album-slider] [aigpl-gallery-album-slider]
code> pre>
- Limit: [aigpl-gallery-album-slider limit=”5″] (Gallery id for which you want to display images.)
- 限制: strong>:[aigpl-gallery-album-slider limit =” 5”](要为其显示图像的画廊ID。) li>
- Link Behaviour: [aigpl-gallery-album-slider album_link_target=”self”] (Choose link behaviour whether to open in a new tab or not. Values are “self” OR “blank”
- 链接行为: strong>:[aigpl-gallery-album-slider album_link_target =“ self”](选择是否在新标签页中打开链接行为。值是“ self”或“ blank”
)
) li>
- Album Height: [aigpl-gallery-album-slider album_height=”400″] (Control height of the album. You can enter any numeric number.)
- 相册高度: strong> [aigpl-gallery-album-slider album_height =“ 400”](控制相册的高度。您可以输入任何数字。) li>
- Album Title: [aigpl-gallery-album-slider album_title=”true”] (Display album title. Values are “true” or “false”.)
- 相册标题 strong>:[aigpl-gallery-album-slider album_title =“ true”](显示相册标题。值为“ true”或“ false”。) li>
- Album Description: [aigpl-gallery-album-slider album_description=”true”] (Display album description. Values are “true” or “false”.)
- 相册说明: strong> [aigpl-gallery-album-slider album_description =“ true”](显示相册说明。值是“ true”或“ false”。) li>
- Album Full Content: [aigpl-gallery-album-slider album_full_content=”true”] (Display album full description. Values are “true” or “false”.)
- 相册完整内容 strong>:[aigpl-gallery-album-slider album_full_content =“ true”](显示相册完整说明。值为“ true”或“ false”。) li>
- Words Limit: [aigpl-gallery-album-slider words_limit=”40″] (Display number of words for album description.)
- 单词数限制 strong>:[aigpl-gallery-album-slider words_limit =“ 40”](显示专辑说明的单词数。) li>
- Content Tail (Continue Reading): [aigpl-gallery-album-slider content_tail=”…”] (Display three dots as a contineous reading.)
- 尾部内容(继续阅读) strong>:[aigpl-gallery-album-slider content_tail =”…”](连续显示三个点)。 li>
- Display Specific Album: [aigpl-gallery-album-slider id=”5,10″] (Display specific album.)
- 显示特定相册: strong> [aigpl-gallery-album-slider id =” 5,10”](显示特定相册。) li>
- Display By Category: [aigpl-gallery-album-slider category=”category_id”] (Display album by their category ID.)
- 按类别显示: strong> [aigpl-gallery-album-slider category =” category_id”](按类别ID显示相册。) li>
- Total Photo Label: [aigpl-gallery-album-slider total_photo=”{total} Photos”] (Control photo count label. “{total}” will replace the number of album photos.
- 总照片标签: strong>:[aigpl-gallery-album-slider total_photo =” {total}张照片”](控制照片计数标签。“ {total}”将替换相册照片的数量。
)
) li>
- Popup: [aigpl-gallery-album-slider popup=”true”] (Display gallery image in a popup. Values are “true” OR “false”)
- 弹出窗口 strong>:[aigpl-gallery-album-slider popup =“ true”](在弹出窗口中显示画廊图像。值为“ true”或“ false”) li>
- Grid: [aigpl-gallery-album-slider grid=”1″] (Number of columns for image gallery. Values are 1 to 12)
- 网格: strong> [aigpl-gallery-album-slider grid =” 1”](图片库的列数。值是1到12) li>
- Gallery Height: [aigpl-gallery-album-slider gallery_height=”400″] (Control height of the image. You can enter any numeric number. You can set “auto” for auto height
- 画廊高度: strong>:[aigpl-gallery-album-slider gallery_height =“ 400”](图像的控制高度。您可以输入任何数字。您可以将“ auto”设置为自动高度
.)
。) li>
- Display Caption: [aigpl-gallery-album-slider show_caption=”true”] (Display image caption. Values are “true” OR “false”)
- 显示标题: strong> [aigpl-gallery-album-slider show_caption =“ true”](显示图像标题。值为“ true”或“ false”) li>
- Link Behaviour: [aigpl-gallery-album-slider link_target=”self”] (Choose link behaviour. Values are “self” OR “blank”)
- 链接行为 strong>:[aigpl-gallery-album-slider link_target =“ self”](选择链接行为。值是“ self”或“ blank”) li>
- Display Title: [aigpl-gallery-album-slider show_title=”true”] (Display image title or not. Values are “true” OR “false”)
- 显示标题: strong> [aigpl-gallery-album-slider show_title =” true”](是否显示图像标题。值为“ true”或“ false”) li>
- Display Description: [aigpl-gallery-album-slider show_description=”true”] (Display image description. Values are “true” OR “false”)
- 显示说明: strong> [aigpl-gallery-album-slider show_description =“ true”](显示图像说明。值为“ true”或“ false”) li>
- Popup: [aigpl-gallery-album-slider popup=”true”] (Display gallery image in a popup. Values are “true” OR “false”)
- 弹出窗口 strong>:[aigpl-gallery-album-slider popup =“ true”](在弹出窗口中显示画廊图像。值为“ true”或“ false”) li>
- Image Size: [aigpl-gallery-album-slider image_size=”full”] (Choose appropriate image size from the WordPress. Values are “full”, “medium”, “large” OR
- 图片大小 strong>:[aigpl-gallery-album-slider image_size =“ full”](从WordPress中选择合适的图片大小。值分别为“ full”,“ medium”,“ large”或
“thumbnail”.)
“缩略图”。) li>
- Slider Columns: [aigpl-gallery-album-slider album_slidestoshow=”2″] (Display number of images at a time in slider.)
- 滑块列 strong>:[aigpl-gallery-album-slider album_slidestoshow =” 2”](在滑块中一次显示图像数量。) li>
- Slides to Scroll: [aigpl-gallery-album-slider album_slidestoscroll=”2″] (Scroll number of images at a time.)
- 幻灯片可滚动 strong>:[aigpl-gallery-album-slider album_slidestoscroll =” 2”](一次滚动显示图片数量。) li>
- Slider Pagination and Arrows: [aigpl-gallery-album-slider album_dots=”false” album_arrows=”false”]
- 滑块分页和箭头: strong> [aigpl-gallery-album-slider album_dots =“ false” album_arrows =“ false”] li>
- Autoplay: [aigpl-gallery-album-slider album_autoplay=”true”] (Start slider automatically. Values are “true” OR “false”.)
- 自动播放 strong>:[aigpl-gallery-album-slider album_autoplay =“ true”](自动启动滑块。值为“ true”或“ false”。) li>
- Autoplay Interval: [aigpl-gallery-album-slider album_autoplay_interval=”3000″] (Delay between two slides.)
- 自动播放间隔 strong>:[aigpl-gallery-album-slider album_autoplay_interval =“ 3000”](在两张幻灯片之间延迟)。 li>
- Slider Speed: [aigpl-gallery-album-slider album_speed=”3000″] (Control speed of slider.)
- 滑块速度 strong>:[aigpl-gallery-album-slider album_speed =“ 3000”](滑块的控制速度。) li>
- Loop: [aigpl-gallery-album-slider loop=”true”] (Infinite Loop.)
- 循环 strong>:[aigpl-gallery-album-slider loop =“ true”](无限循环) li>
ul>
Template code is
模板代码为 h4>
<?php echo do_shortcode('[aigpl-gallery]'); ?>
?>
<?php echo do_shortcode('[aigpl-gallery-slider]');
?>
?>
<?php echo do_shortcode('[aigpl-gallery-album]');
?>
?>
<?php echo do_shortcode('[aigpl-gallery-album-slider]');
?>
?>
code> pre>
How to install :
如何安装: h4>
src='https://www.youtube.com/embed/tv5vymtalS4?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'><
src ='https://www.youtube.com/embed/tv5vymtalS4?version = 3&rel = 1&fs = 1&autohide = 2&showsearch = 0&showinfo = 1&iv_load_policy = 1&wmode = transparent'allowfullscreen ='true'style ='border:0;'> <
/iframe>
/ iframe> span>
Available Features :
可用功能: h4>