How to Add Multiple Galleries in WordPress Posts and Pages

Posted on June 27th, 2011 by in WordPress Plugins | 9 Comments  
How to Add Multiple Galleries in WordPress Posts and Pages

WordPress comes with a built-in gallery feature for posts and pages. We wrote an article on how to add a gallery in WordPress with a lightbox effect. But there were two issues that were raised from that article. One was that the gallery shortcode pulls all images that were attached to the post, and there is no option to select which images to display in the gallery. The other issue was that you are limited to only one gallery per post. Well in this article, we will share a plugin called Multiple Galleries which fixes both issues. It allows you to select which images to show in each gallery thus allowing you to have as many galleries in your WordPress posts and pages.

First thing you need to do is install and activate Multiple Galleries plugin. If you need help then refer to our step by step guide to installing a WordPress plugin.

Once you have installed the plugin, then open an existing post/page or create a new post. Then click on the upload media icon.

Upload Media Icon

Now you should see a checkbox next to images you have uploaded to a gallery in this post. Selecting checkboxes will include those images in a particular gallery.

Multiple Galleries Screenshot

To create another gallery within the same post, simply choose Insert Gallery and select the images.

About

Editorial Staff at WPBeginner mainly Syed and David.

Post comment as twitter logo facebook logo
Sort: Newest | Oldest
uncommonchick 6 pts

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!

inkdork 7 pts

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.

wpbeginner 60 pts moderator

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

inkdork 7 pts

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.

inkdork 7 pts

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!

inkdork 7 pts

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.

PauldeWouters 6 pts

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

iamdesigning 5 pts

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 . . . !

Dragan 6 pts

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.

Tweets about us: