A little about working with Gallery Shortcodes

Creating Galleries in KingSize WordPress is what makes it so unique.

There are a variety of ways in which you can display your photos.

There are no limitations to how many Galleries you can create.

The first and most popular is by using a ‘Fullscreen’ background image.

This method makes use of the ‘Slider’ post type to display your images.

This way, your visitors can enjoy your gallery fullscreen with no distractions; capturing their full attention and enjoyment.

The next method is using the ‘Galleries’ post type.

This allows you to create a single post that will house your gallery images.

Each Gallery post is assigned a unique ID that will be used to call those images when creating a page or post you want those galleries displayed in. Then using our Shortcode button within the editor, you can insert the Gallery shortcode, assign the Gallery ID and choose what type of Gallery you’re wanting to use when displaying those images within that specific page / post (there are 6 unique types to choose from).

The available Gallery Types are:

  1. Colorbox
  2. Fancybox
  3. Galleria
  4. Orbit
  5. PrettyPhoto
  6. SlideViewer

Here is an example of different options in a Gallery Shortcode.

[[img_gallery id=”” type=”” layout=”2″ orderby=”” order=”” description=”” placement=””]]

The options available to the Gallery shortcodes are as follows:
OptionValueRequiredDescription
idYesEach gallery created has a unique ID assigned to it.
typecolorbox, fancybox, slideviewer, galleria, prettyphotoYesThis is defining the type of gallery you’ll be using to display the images.
layout2, 3, 4, gridYesThis defines the layout you’re wanting to display your gallery in.
orderbyrandom, custom_id, asc_orderNoThis defines the order in which the gallery images are displayed.
orderasc, descNoThis defines whether they’re Ascending or Descending in order.
descriptionNoYou can add a gallery description to your gallery.
placementabove, belowNoDefine whether the description is “Above” or “Below” the gallery.

Gallery shortcodes can be re-used multiple times.

They can be edited by going back to the created Gallery and click the ‘Add Media’ button to manage the attached media files. This would be where you can re-arrange (if using a specific order) by drag-n-drop, edit titles, descriptions or add and delete images.

Here is an example of a Gallery shortcode being used in a post:

[img_gallery id=”191″ type=”fancybox” layout=”2″ orderby=”” order=”random” description=”” placement=””]

Here’s a video Tutorial we hope will help:

Comments are closed.