Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add Multiple Galleries in WordPress Posts and Pages

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to add multiple image galleries to your WordPress posts and pages?

With multiple image galleries, you can show off different types of content on your website and improve your SEO and user experience. However, the default WordPress Gallery block lacks certain features.

In this article, we will show you how to easily add multiple galleries in your WordPress posts, pages, and sidebar.

Add multiple galleries to WordPress posts and pages

Why Add Multiple Galleries in WordPress?

WordPress is used by thousands of photographers, artists, and designers to share their work with the world. Many website owners also use images and photo galleries to show the products in their online stores or make their content more visually interesting.

Many WordPress websites want to display their photos in different ways, including adding multiple galleries in a single post, adding galleries into sidebars, creating slideshows, and so on.

For example, if you have a food blog, then you may want to create separate image galleries for your recipes and restaurant reviews.

Similarly, if you run a fashion blog, then you can use multiple galleries to display your fall, winter, or spring collections separately.

Multiple galleries preview

WordPress comes with a built-in gallery feature that you can use to make and show image galleries.

However, these galleries lack functionality like opening images in a lightbox, browsing images without leaving the page, adding tags, creating albums, and more.

Most importantly, your galleries are not stored separately. This means that if you want to reuse a gallery in another post, then you will need to make it all over again.

That being said, let’s take a look at the best way to add multiple galleries in WordPress posts and pages.

How to Add Multiple Image Galleries in WordPress

You can easily add multiple image galleries to WordPress posts and pages using Envira Gallery.

It is the best WordPress gallery plugin on the market that allows you to create beautiful image galleries on your WordPress site.

With Envira Gallery, your users can view your images in a lightbox popup. They can also browse images without leaving the page, and you can even reuse your galleries in other posts and pages.

First, you need to install and activate the Envira Gallery plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: Envira Gallery also has a free version that you can use for this tutorial.

Upon activation, you need to visit the Envira Gallery » Add New page from the WordPress admin sidebar to start creating a gallery for your website.

From here, you can start by typing a name for your gallery.

Next, click the ‘Select Files from Your Computer’ button to upload gallery images from the computer.

If you want to add images from the WordPress media library, then click the ‘Select Files from Other Sources’ button instead. Keep in mind that if you use this option, then you can only upload a single image at a time from the media library.

Create image gallery

Once you have done that, scroll down to the ‘Currently in your Gallery’ section.

Here, you will see a preview of all the images that you have uploaded to your Envira gallery.

See the image gallery preview

Now, you can click on the pencil icon at the top of each image to open the ‘Edit Metadata’ prompt on the screen.

From here, you will be able to add the caption, status, title, and alt text for individual images.

Once you are happy, don’t forget to click the ‘Save Metadata’ button to store your settings.

Configure image metadeta

Next, you can switch to the ‘Configuration’ tab from the left sidebar to change your gallery layout, including choosing the number of columns, image lazy loading, size, title and caption positioning, margins, heights, and more.

You can also switch to the ‘Lightbox’ tab to check the ‘Enable Lightbox’ option. This will allow users to enlarge images and browse them without ever leaving the page.

After that, you can also configure other settings, including videos, social sharing, tags, pagination, and more.

For detailed instructions, see our beginner’s guide on how to create an image gallery in WordPress.

Enable lightbox for image gallery

Finally, click the ‘Publish’ button at the top to store your settings.

Once you have done that, just repeat the process to create another image gallery for your WordPress blog. You can create as many image galleries with Envira Gallery as you want.

Adding Galleries to WordPress Posts or Pages

Now that you have created multiple image galleries, it’s time to add them to your WordPress posts and pages.

To do this, just open a page/post of your liking in the WordPress content editor.

Once you are there, click the ‘+’ button in the top left corner of the screen to open the block menu. From here, find and add the Envira Gallery block to the page or post.

Add the Envira Gallery block

Next, you need to select one of the galleries that you created from the dropdown menu in the block itself.

After that, open the block menu once again and add the ‘Envira Gallery’ block to select a different gallery.

Once you have done that, you can change the gallery layout, enable the lightbox, or set the row height from the block panel as well.

You can even upload new images to your gallery by clicking the ‘Upload’ or ‘Media Library’ button under each gallery.

Edit image gallery in the block panel

Finally, click the ‘Publish’ or ‘Update’ button at the top to store your settings.

Now, you can visit your WordPress site to view the multiple image galleries in action.

Multiple galleries preview

Adding Multiple Galleries in WordPress Sidebars

Envira Gallery makes it super easy to add your galleries to sidebars and other widget-ready areas.

First, you need to visit the Appearance » Widgets page from the WordPress dashboard.

Note: If you are using a block theme, then you won’t be able to see the widgets menu. Instead, you can jump to our next method, where we show you how to insert multiple galleries using the full site editor.

Once you are there, just click the ‘+’ button at the top left corner to open the block menu and add the Envira Gallery block to the sidebar.

Upon adding it, you must select an image gallery from the dropdown menu within the block itself.

Add Envira block in the sidebar

Next, simply repeat the process to add another image gallery to the WordPress sidebar.

Once you have done that, you can further configure the layout for each gallery from the block panel on the right side of the screen.

You can also click on the pencil icon in the block toolbar to launch the gallery edit screen.

Click the pencil icon to open the gallery edit screen

Once you are happy with your image galleries, click the ‘Update’ button at the top to save your changes.

Now, go ahead and visit your WordPress site to view multiple image galleries in your sidebar.

Multiple galleries in sidebar

Adding Multiple Galleries in WordPress Full Site Editor

If you are using a block theme, then the ‘Widgets’ menu tab won’t be available for you.

Instead, you need to visit the Appearance » Editor page from the WordPress dashboard and select the ‘Templates’ option from the left column.

Open templates option in FSE

This will open a list of all the pages on your website in the left column. From here, select the page where you want to add the galleries.

This will open the page in the WordPress full site editor.

From here, click the ‘+’ add block button to open the block menu and select the ‘Envira Gallery’ block. After that, you need to pick the gallery that you created from the dropdown menu within the block.

Next, just repeat the process again to add another gallery.

Add Envira Gallery block in full site editor

After that, you can configure the gallery settings from the block panel.

Alternatively, you can click the pencil icon in the block toolbar to launch the gallery edit screen.

Edit and save galleries in FSE

Finally, click the ‘Save’ button at the top to store your settings.

Now, visit your WordPress site to view the multiple image galleries.

Preview of multiple galleries in FSE

Bonus: Add Video Galleries to Your WordPress Site

With Envira Gallery, you can also add a video gallery to your WordPress blog using the Envira Videos Addon. This can help you show off your filmography, products, or informational video clips on your website.

This can help improve your site’s SEO, showcase your expertise, and increase user engagement.

Envira Gallery is also one of the best YouTube video gallery plugins for WordPress. This is because it allows you to create a YouTube gallery on your site simply using the URL for each video. It also lets you adjust the playback sound, use video autoplay, use fullscreen by default, hide the playback controls, and much more.

To learn more, you can see our list of the best YouTube video gallery plugins for WordPress.

We hope this article helped you add multiple galleries to WordPress posts and pages. You may also want to see our guide on how to create a photo gallery with albums in WordPress and our list of the best WordPress portfolio plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

16 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. THANKGOD JONATHAN says

    Thank you for this article.
    If I use this method and create a photo gallery, will the gallery appear in search results.
    For instance, if a create a gallery for “best shops in X town” and add the keywords in metadata and the title. if someone search for that keywords will my gallery appear in search results?

    • WPBeginner Support says

      They certainly can, the main thing to keep in mind is if you are trying to rank for a specific geographical area you would want to look into local SEO to add that metadata.

      Admin

      • THANKGOD JONATHAN says

        I am using All In One SEO and I believe this feature is available.
        Thank you. This will really help me.

  3. Moinuddin Waheed says

    Images play important role in visual appearance of the website. it creates visually appealing sense of accomplishment while browsing the website.
    But the downside of having too many images in websites is that it causes website to load slow.
    Is there a way in envira gallery or other plugin that can optimize the images right when we upload in the media?
    it will be very effective in terms of its fast loading speed of the website.

  4. Kim Carney says

    Because our new stream player is not compatible with Site Builder, I’m having to rebuild our radio station’s website using WordPress. I have spent days going thru dozens of blogs & tutorials to find a way to re-create this page using WP:
    Our Featured Artists must be in alphabetical order so listeners can find them and because we are constantly adding new artists, I need to be able to place new artists in specific places to keep them all in alpha order.
    Does anyone know if building a page like this in WP is even possible?? I’m losing my patience and my marbles trying to figure this out…lol. Any help is MUCH appreciated. Thank you!!

  5. uncommonchick says

    Thank you! I have been searching for a way to do this for awhile now…wordpres should really add this to the core product. Seems very simple to do without having to add yet another plugin.
     
    Thanks again!

  6. inkdork says

    @wpbeginner Update- I had to disable the plug-in because it removed my ability to access any images I had previously uploaded to the site.

    Once I disabled it, I have full functionality back again. Not sure if it is a conflict with another plug-in or something else, will try disabling other plugins I really don’t need and see if it works then.

  7. inkdork says

    @wpbeginner If you go to http://kittyloafdesigns.com, you’ll see one way I made this plug-in work. I had wanted a photo of myself posted next to my intro, and a small gallery below it to show some samples of my work, but without being able to separate the two, the best I could get before was to have my photo at the top, then have it appear a second time within the gallery. Now I am able to have the two apart from each other, which is great!

    There’s just one more thing I would like to see this plug-in do, and that would be to be able to assign images previously or later uploaded to galleries on a page, not just the ones upload with that post. Then it would be perfect!

  8. inkdork says

    @wpbeginner I can definitely do that. We’re about to head off to bed, but this evening I’ll be installing it and making a few changes. I have one page in particular that will be able to make very good use of this plug-in.

  9. wpbeginner says

    @inkdork Yea a lot of folks don’t know about this very neat feature :) Do show us the example once you are done.

  10. inkdork says

    I should have dug through the archives sooner- I’ve been wondering about this for a while. Looks like I’ll be adding this to my site tonight.

  11. PauldeWouters says

    thanks, I hadn’t heard of this plugin, and I need this for a client. I had used the gallery shortcode parameters to create multiple galleries [gallery exclude="1,2,3"], but it’s not very beginner friendly

  12. iamdesigning says

    Interesting stuff to read & sounds great with clean implementation. Really an useful & effective informational posting for me at this time.

    Thanks a lot for share this nice read : ) Looks forward to hear more good stuffs from you ever . . . !

  13. Dragan says

    Thanks. Other solution would be to add another gallery tag manually and list picture id’s for that gallery. This is definitely one of those things that need to improve in WordPress core in future versions.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.