show sidebar & content

A little about working with Gallery Shortcodes

26 Nov 2015 / in Tutorials

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:
Option Value Required Description
id Yes Each gallery created has a unique ID assigned to it.
type colorbox, fancybox, slideviewer, galleria, prettyphoto Yes This is defining the type of gallery you’ll be using to display the images.
layout 2, 3, 4, grid Yes This defines the layout you’re wanting to display your gallery in.
orderby random, custom_id, asc_order No This defines the order in which the gallery images are displayed.
order asc, desc No This defines whether they’re Ascending or Descending in order.
description No You can add a gallery description to your gallery.
placement above, below No Define 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:

error: Content is protected !!