Digital Photography Tips, Tutorials and Resources
Do you want to use images from your WordPress categories to create an image gallery? Sometimes you want to compile all of the images from a specific category into a single photo gallery. In this article, we will share how to create an image gallery for categories in WordPress.
By default, WordPress doesn’t have an option to create galleries from categories. You’ll need to use a plugin like Envira Gallery that enables you to create image galleries from different sources.
To create an image gallery for categories in WordPress, you’ll need to follow these 4 steps:
- Step 1. Install and activate Envira Gallery plugin
- Step 2. Install and activate Envira’s Featured Content Addon
- Step 3. Create a Featured Content gallery and select your categories
- Step 4. Add your image gallery to a post or page
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.
If you need help, then check out our guide on how to install Envira Gallery.
Step 2: Install and Activate Envira’s Featured Content Addon
Upon activation, you can go to Envira Gallery » Addons to install and activate the Featured Content Addon.
You must have Envira’s Plus or higher license to access this addon.
Once activated, you can now create an image gallery for categories.
Step 3: Create a Featured Content Gallery and Select Your Categories
Next, go to Envira Gallery » Add New and add a title for your image gallery. In the External Gallery tab, go ahead and select Featured Content.
Now scroll down to the Images tab. In the Select Your Post Type(s) field, you’ll need to select ‘Post’, and in the Select Your Taxonomy Term(s) field, select the categories you want to include.
Next, you can go to the Config tab to see additional options for your image gallery. To learn more, you should check out our guide on how to create an image gallery in WordPress.
Once you are happy with your settings, go ahead and hit the Publish button. Then copy the shortcode from inside the Envira Gallery Code widget (you’ll need this for the next step).
Step 4: Add Your Image Gallery to a Post or Page
To display your categories image gallery on your website, you’ll need to go to Posts » Add New or edit an existing post. In the visual editor, simply paste the shortcode.
Make sure to click on the Update button to save your changes.
That’s all. We hope this article helped you to learn how to create an image gallery for categories in WordPress. You may also want to check out our guide on how to use custom CSS in your WordPress image galleries.