Please note, this is a STATIC archive of website www.themepunch.com from 28 Sep 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Load Only Single Content Gallery in Lightbox

home_topbanner

The following will show how you can load individual gallery's per grid item inside the lightbox.

1. Add a traditional Media Gallery to your post's main content.

add-media-gallery
create-gallery
gallery-created

2. From the grid's main settings page, inside the "Lightbox" tab, apply the following settings.

content-gallery-based

3. Custom JavaScript

Once the lightbox is opened, if you want the lightbox to cycle through all items in all galleries, skip this step.

Otherwise, add the following code to the grid’s “API/JavaScript” section, and the lightbox will only show one gallery at a time.

custom-lb-js