For more information on shortcodes, please visit the documentation page on WordPress.
Single gallery shortcode v2.0+
[[ims-gallery id=0 layout=1 caption=1 orderby=date number=5 linkto=attachment]]
- $id: (Required)
- gallery id (use imstore ID not database).
- $layout: (optional)
- (false)display just images no lighbox
- (lightbox) display images with lighbox
- (slideshow) display gallery as slideshow
- $caption: (optional)
- (1) show caption
- (0) do not display caption
- $orderby: (optional)
- (0) use gallery default option set on setting or gallery sort. (default)
- (date) sort by image upload date.
- (title) sort by image title.
- (custom) sort by custom order.
- (caption) sort by caption.
- $order: (optional)
- (0) use gallery default option set on setting or gallery sort. (default)
- (ASC) ascending order
- (DESC) descending order
- $number: (optional)
- (false) show all the images on gallery
- (any number) how many images to show.
- $linkto: (optional)
- (false) link to image file.
- (attachment) link to image page (attachment).
Dynamic shortcode v2.0+
[[image-store list=23]]
- Default: [[image-store]]
- Display all un-protected galleries
- $secure: (optional)
- (1) Display login form for secure galleries. It can’t be used with any other value.
- $album: (optional)
- (integer) album/term id. Display galleries assigned to this term (album).
- $tag: (optional)
- (integer) tag/term id. Display galleries assigned to this term (tag).
- $count: (optional) to be used with $album.
- (false) display all galleries.
- (any number) limit the number of galleries displayed.
- $list: (optional) display price list.
- (integer) price list id. It can’t be used with any other value.
- $favorites: (optional) display user favorites.
- (bool) true. It can’t be used with any other value.
- $cart: (optional) cart page.
- (bool) true. It can’t be used with any other value.
- $all: (optional) display secure and none-secure galleries.
- (bool) true. It can’t be used with any other value.