Title: Multiple custom lightbox sets
Last modified: August 31, 2016

---

# Multiple custom lightbox sets

 *  Resolved [Enjabain](https://wordpress.org/support/users/enjabain/)
 * (@enjabain)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-custom-lightbox-sets/)
 * Hello,
    I am using lightbox for non-wppa images which works fine. But instead
   of creating one set per page, I want to create multiple custom sets per page.
   How can I specify a custom image set for wppa-lightbox?
 * [https://wordpress.org/plugins/wp-photo-album-plus/](https://wordpress.org/plugins/wp-photo-album-plus/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-custom-lightbox-sets/#post-7379330)
 * Switch off the automatic lighboxification by UNticking Table IV-G5 and 5.1.
 * Manually add ( using the text editor ) to the `<a>` tags the argument:
    `data-
   rel="wppa[MySetname]"`
 * MySetname may be anything, the images having the same setname wil be in one set.
   Example from my test site where i worked this out:
 *     ```
       <a href="http://beta.opajaap.nl/wp-content/uploads/2015/12/gpstest-1.jpg" data-rel="wppa[MySet-1]"><img class="size-medium wp-image-6646" src="http://beta.opajaap.nl/wp-content/uploads/2015/12/gpstest-1-300x202.jpg" alt="Test" width="300" height="202" /></a>
   
       <a href="http://beta.opajaap.nl/wp-content/uploads/2015/12/gpstest-2.jpg" data-rel="wppa[MySet-1]"><img class="alignnone size-medium wp-image-6647" src="http://beta.opajaap.nl/wp-content/uploads/2015/12/gpstest-2-300x200.jpg" alt="gpstest 2" width="300" height="200" /></a>
   
       <a href="http://beta.opajaap.nl/wp-content/uploads/2013/01/56.jpg" data-rel="wppa[MySet-2]"><img class="size-medium wp-image-1321" src="http://beta.opajaap.nl/wp-content/uploads/2013/01/56-300x199.jpg" alt="Plaatje 2" width="300" height="199" /></a>
   
       <a href="http://beta.opajaap.nl/wp-content/uploads/2015/12/gpstest-3.jpg" data-rel="wppa[MySet-2]"><img class="alignnone size-medium wp-image-6648" src="http://beta.opajaap.nl/wp-content/uploads/2015/12/gpstest-3-300x200.jpg" alt="gpstest 3" width="300" height="200" /></a>
       ```
   
 * You can see it here: [http://beta.opajaap.nl/nl/](http://beta.opajaap.nl/nl/)
   for a few hours.
    The first two images are a set, and the second two also. The
   only thing you miss is the hourglass cursor, but you can add that as well manually.
 *  Thread Starter [Enjabain](https://wordpress.org/support/users/enjabain/)
 * (@enjabain)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-custom-lightbox-sets/#post-7379333)
 * Works like a charm. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple custom lightbox sets’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-photo-album-plus.svg)
 * [WP Photo Album Plus](https://wordpress.org/plugins/wp-photo-album-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-photo-album-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-photo-album-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-photo-album-plus/reviews/)

## Tags

 * [set](https://wordpress.org/support/topic-tag/set/)
 * [wppa](https://wordpress.org/support/topic-tag/wppa/)

 * 2 replies
 * 2 participants
 * Last reply from: [Enjabain](https://wordpress.org/support/users/enjabain/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/multiple-custom-lightbox-sets/#post-7379333)
 * Status: resolved