Envira Gallery Blog

Digital Photography Tips, Tutorials and Resources

how-to-enabledisable-lightbox-for-individual-galleries-in-wordpress-albums

How to Enable/Disable Lightbox for Individual Galleries in WordPress Albums

by Waseem Abbas on Feb 20, 2017

Do you want to display individual galleries differently inside WordPress albums? Sometimes you may want to display your galleries with different styles, even though they are located inside the same photo album. In this tutorial, we will share how to enable/disable lightbox for individual galleries in WordPress albums.

By default, WordPress does not allow you to organize photo galleries inside albums, so you’ll need a plugin like Envira Gallery. We have a complete guide on how to create photo albums in WordPress here.

Each image gallery inside Envira photo albums has its own settings, so you can change those settings separately without affecting the entire photo album.

To enable/disable lightbox for individual galleries in WordPress albums, you’ll need to follow these 5 steps:

  • Step 1. Install and activate Envira Gallery plugin
  • Step 2. Install and activate Envira’s Albums Addon
  • Step 3. Create a photo album in Envira and add image galleries
  • Step 4. Edit image galleries individually to enable/disable lightbox
  • Step 5. Display the photo album in your WordPress page/post

Ready to get started? Let’s go!

Step 1: Install and Activate Envira Gallery Plugin

(If you are already an Envira Gallery user, then skip this step and go to Step 2.)

First thing you need to do is install and activate Envira Gallery WordPress plugin.

Envira Gallery

If you want to know more about installation, then check out this guide on how to install Envira.

Step 2: Install and Activate Envira’s Albums Addon

Upon activating Envira Gallery, go to Envira Gallery » Addons. Then install and activate the Albums Addon.

To access this addon, you must have Envira’s Pro or Ultimate license. Check out this guide on how to upgrade your license for more info.

Albums Addon

Once the addon is activated, you can go ahead and organize image galleries into photo albums. To learn how to create individual galleries, check out this guide on how to create an image gallery with thumbnails in WordPress.

Step 3: Create a Photo Album in Envira and Add Image Galleries

To create a photo album, you need to go to Envira Gallery » Albums. Click on the Add New button, and then add a title for your photo album.

Add New Album

Next, scroll down to add the image galleries that you want to include in this photo album.

Add Galleries in Photo Album

You can learn more about album settings in this guide on how to create a photo album in WordPress.

Make sure to hit the Publish button, and then go to the next step.

Step 4: Edit Image Galleries Individually to Enable/Disable Lightbox

Now that you’ve created your album and added your photo galleries, go ahead and edit the image galleries one by one.

To enable/disable lightbox for any of your galleries, scroll down to the Lightbox tab and check or uncheck the box to enable or disable lightbox view.

Enable Lightbox

You can also change the lightbox settings for individual image galleries.

Step 5: Display the Photo Album in Your WordPress Page/Post

Next, go back to Envira Gallery » Albums and edit the photo album. Copy the shortcode from Enivra Album Code widget.

Album Shortcode

Then, edit a page/post or go to Pages/Posts » Add New. Paste the shortcode into the visual editor.

Add Shortcode

Make sure to Update the post. Now you have enabled or disabled lightbox for individual galleries in photo albums. Go to your site to see the album live!

We hope this tutorial has helped you to learn how to enable/disable lightbox for individual galleries in WordPress albums. You may also want to check out our guide on what is the difference between albums vs galleries in WordPress.

If you like this tutorial, then please follow us on Facebook and Twitter for more WordPress resources and guides.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

[i]
[i]
[i]
[i]