Envira Gallery Blog
Digital Photography Tips, Tutorials and Resources
Digital Photography Tips, Tutorials and Resources
Last updated on Apr 6, 2017 by Waseem Abbas Reader Disclosure
Do you want to add a back to album button to your image gallery? A back button is an important feature for your users if you have multiple image galleries inside an album. In this article, we will share how to display a back to album link in WordPress galleries.
Any photo album with galleries should include a “Back to Album” link. This navigation helps your visitors to easily browse through your various galleries. However, WordPress does not include the option for a back to album link by default.
To display back to album link in a WordPress gallery, you’ll need to follow these 6 steps:
By the end of this tutorial, you will have an image gallery with a back to album link that looks like this:
Ready to get started? Let’s go!
First thing you need to do is to install and activate Envira Gallery WordPress plugin.
For more help with this step, check out our guide on how to install Envira Gallery.
Once you’ve installed and activated Envira Gallery, you can start creating photo galleries. To learn more, check out our guide on how to create an image gallery with Envira.
Upon activating the plugin, you need to go to Envira Gallery » Addons from your WordPress backend.
Then install and activate the Albums Addon and the Standalone Addon.
(Note: You must have Envira’s Pro or Ultimate license to access these two addons.)
After installing and activating the two addons, you can go to Envira Gallery » Albums. Then click on the Add New button at the top.
Start by adding a title for your photo album.
You will notice all of your image galleries are there in the Galleries section. Choose the galleries you would like to add to this photo album.
Once you’ve selected the galleries you’d like to include, click on the Publish button.
Go ahead and copy the shortcode from the Envira Album Code widget. (You’ll need this shortcode to display your photo album in step 6 below.)
For more details on creating a photo album, check out our guide on how to create a photo album in WordPress.
Since we want to display a back to album link, we’ll need to disable lightbox view for our photo galleries. So instead of opening the galleries in a lightbox, they will open up in a new page.
To disable lightbox view, go to the Lightbox tab and uncheck the Enable Lightbox option.
Now it’s time to add our back to album link. Go to the Config settings, and checkmark the “Display Back to Album Link?” option.
Make sure to Update your photo album to save your changes.
To add your photo album into a WordPress post or page, you can go to Posts/Pages » Add New, or edit an existing post.
Then, simply paste the shortcode (that you copied in step 3) into the visual editor, and click on the Update button.
That’s all. We hope this article has helped you to learn how to display a back to album link in WordPress galleries. You may also want to check out our guide on what is the difference between albums vs galleries in WordPress.
If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.
Envira Gallery helps photographers create beautiful photo and video galleries in just a few clicks so that they can showcase and sell their work.