2 min read 1 mo ago

Shortcode Parameters

If you’re using shortcodes to display your galleries, you can use different parameters to individually modify each gallery instance. Below is a list of available parameters.

Keep in mind that some parameters are not compatible together. For example, you cannot use both id and ids within the same shortcode, as they serve similar purposes and would conflict.

General Parameters

ParameterDescription
meowSet to "false" to use default WordPress gallery instead
idGallery ID from the Gallery Manager
idsComma-separated list of image IDs
includeAlternative way to specify image IDs
collectionCollection ID to display instead of a gallery
layoutGallery layout: tilesmasonryjustifiedsquarecascadehorizontalcarouselmap
sizeImage size to use (e.g., largemediumthumbnail)
linkLink behavior: attachmentmediafile, or null
captionsCaption display: none or other values
animationAnimation type for images
custom-classCustom CSS class for the gallery
alignAlignment (adds align{value} class)

Ordering

ParameterDescription
orderby / order_byField to order by
orderSort direction: asc or desc

Posts Mode

ParameterDescription
postsComma-separated post IDs (uses featured images)
latest_postsNumber of latest posts to fetch
heroEnable hero display mode for posts

Layout-Specific Parameters

Tiles

ParameterDescription
gutterSpace between tiles
densityTile density: lowmediumhigh

Masonry

ParameterDescription
gutterSpace between images
columnsNumber of columns

Justified

ParameterDescription
gutterSpace between images
row-heightTarget row height in pixels

Square

ParameterDescription
gutterSpace between images
columnsNumber of columns

Cascade

ParameterDescription
gutterSpace between images

Horizontal

ParameterDescription
gutterSpace between images
image_heightImage height in pixels
hide_scrollbarHide the scrollbar
ParameterDescription
gutterSpace between slides
image_heightImage height in pixels
arrow_nav_enabledShow arrow navigation
dot_nav_enabledShow dot navigation
keep-aspect-ratioMaintain image aspect ratio

Map

ParameterDescription
gutterSpace between elements
map_heightMap height in pixels