Do you want to add several image galleries to your WordPress posts and pages?
Adding multiple image galleries can make your website more attractive and improve your SEO and user experience. But, the default WordPress Gallery block doesn’t have all the features you might need.
This guide will show you how to add multiple galleries easily in your WordPress posts, pages, and sidebar.
Why Add Multiple Galleries in WordPress?
WordPress is popular with photographers, artists, and designers to display their work. Many website owners also use photo galleries to showcase products or make their content more visually appealing.
Websites might want to show photos in different ways, like having multiple galleries in one post, galleries in sidebars, or creating slideshows. For example, a food blog might have separate galleries for recipes and restaurant reviews. A fashion blog could have different galleries for each season’s collection.
Although WordPress has a built-in gallery feature, it lacks some functions like opening images in a lightbox, browsing images on the same page, adding tags, creating albums, and more. Also, galleries aren’t stored separately, so you can’t reuse them in other posts without recreating them.
How to Add Multiple Image Galleries in WordPress
To add multiple image galleries to your WordPress posts and pages, you can use the Envira Gallery plugin. It’s the best WordPress gallery plugin and lets you create beautiful image galleries.
With Envira Gallery, users can view images in a lightbox popup, browse images without leaving the page, and reuse galleries in other posts and pages.
- Install and Activate Envira Gallery: First, install and activate the Envira Gallery plugin. There’s a free version available for this tutorial.
- Create a Gallery: Go to the Envira Gallery » Add New page in the WordPress admin sidebar. Name your gallery and upload images by clicking the ‘Select Files from Your Computer’ button. You can also add images from the WordPress media library.
- Edit Metadata: Scroll down to the ‘Currently in your Gallery’ section to see the uploaded images. Click the pencil icon on each image to add captions, titles, and alt text. Save your settings.
- Configure Gallery: Use the ‘Configuration’ tab to set the gallery layout, number of columns, image size, title and caption positions, margins, heights, and more. In the ‘Lightbox’ tab, enable the lightbox feature so users can enlarge and browse images without leaving the page. Configure other settings like videos, social sharing, tags, and pagination.
- Publish the Gallery: Click the ‘Publish’ button to save your settings. Repeat the process to create more image galleries.
Adding Galleries to WordPress Posts or Pages
To add the galleries to your posts or pages:
- Open a Post/Page: Open the post or page in the WordPress content editor.
- Add Envira Gallery Block: Click the ‘+’ button to open the block menu, and add the Envira Gallery block to the post or page. Select the gallery you created from the dropdown menu. Add another Envira Gallery block to select a different gallery.
- Customize the Gallery: Change the gallery layout, enable the lightbox, or set the row height from the block panel. Upload new images if needed.
- Save Changes: Click the ‘Publish’ or ‘Update’ button to save your settings. Visit your site to see the multiple galleries in action.
Adding Multiple Galleries in WordPress Sidebars
You can also add galleries to sidebars and widget-ready areas:
- Go to Widgets: Visit Appearance » Widgets in the WordPress dashboard. If you use a block theme, use the full site editor instead.
- Add Envira Gallery Block: Click the ‘+’ button to open the block menu and add the Envira Gallery block to the sidebar. Select a gallery from the dropdown menu. Repeat to add more galleries.
- Configure Layout: Adjust the gallery layout from the block panel. Use the pencil icon to edit the gallery settings.
- Save Changes: Click the ‘Update’ button to save your changes. Visit your site to see the galleries in the sidebar.
Adding Multiple Galleries in WordPress Full Site Editor
For block themes, use the full site editor:
- Open Full Site Editor: Go to Appearance » Editor and select ‘Templates’.
- Add Galleries: Select the page where you want to add galleries. Open the block menu, add the Envira Gallery block, and choose a gallery. Repeat to add more galleries.
- Configure and Save: Adjust the settings and click the ‘Save’ button. Visit your site to see the galleries.
Bonus: Add Video Galleries
With Envira Gallery, you can also create video galleries using the Envira Videos Addon. This helps show off films, products, or informational clips, improving your site’s SEO and user engagement. Envira Gallery is also great for creating YouTube video galleries by simply using the video URLs. Adjust playback settings, autoplay, fullscreen, and more for a better user experience.