Envira Gallery Blog

Digital Photography Tips, Tutorials and Resources

how-to-sort-image-galleries-in-wordpress-albums

How to Sort Image Galleries in WordPress Albums

by Waseem Abbas on Oct 31, 2016

Do you want to sort your image galleries inside photo albums? Sometimes you may need to control how your image galleries are displayed within albums (e.g. by title, publish date, alt text, etc.). In this article, we will share how to sort image galleries in WordPress albums.

You may be using photo albums to organize multiple image galleries on your WordPress site. You can choose what order those galleries are displayed by using the Envira Gallery plugin.

To sort image galleries in WordPress albums, you’ll need to follow these 5 steps:

  • Step 1. Install and activate Envira Gallery plugin
  • Step 2. Create your image galleries in Envira
  • Step 3. Create an album and add your galleries
  • Step 4. Change your settings to sort image galleries
  • Step 5. Display your sorted album in WordPress

Ready to get started? Let’s go!

Step 1: Install and Activate Envira Gallery Plugin

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

Envira Gallery

For help with this step, check out our guide on how to install Envira.

Step 2: Create Your Image Galleries in Envira

Upon activating Envira, you can go to Envira Gallery » Add New to add a new image gallery in WordPress.

Add New Gallery

Go ahead and add your images into the Native Envira Gallery section.

Add Images

After adding your images, you’ll need to hit the Publish button to save your changes. Then go ahead and repeat this process to create as many image galleries as you need.

For more help with this step, check out our guide on how to create an image gallery with thumbnails in WordPress.

Step 3: Create an Album and Add Your Galleries

Next, you’ll need to create an album to organize your galleries. Go to Envira Gallery » Albums from your WordPress backend, and click on the Add New button.

Then, simply add a title and drop your image galleries.

Add New Album

To learn more about album settings, you should check out our guide on how to create a photo album in WordPress.

Step 4: Change Your Settings to Sort Image Galleries

Now it’s time to sort your image galleries. In the Config tab, scroll down to Sorting and select your preference from the dropdown menu. You can choose from Random, Title, Caption, Alt Text, or Publish Date.

Sorting Config

(I chose Title from the sorting dropdown, so my image galleries will be sorted by their names in alphabetical order.)

Step 5: Display Your Sorted Album in WordPress

Once you are happy with your settings, go ahead and hit the Publish button. Then copy the shortcode from the Envira Album Code widget.

Copy Shortcode

Next, go to Posts/Pages » Add New or edit an existing post/page. In the visual editor, go ahead and paste the shortcode.

Add Shortcode

Make sure to click on the Update button to save your changes.

That’s all. We hope this article has helped you to learn how to sort image galleries in WordPress albums. To learn how to sort the images themselves within your individual image galleries, check out our guide on how to sort images in WordPress galleries.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Using WordPress and want to get Envira Gallery free?

Envira Gallery helps photographers create beautiful photo and video galleries in just a few clicks so that they can showcase and sell their work.

author avatar
Waseem Abbas

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.