This plugin gives you the ability to use standard WordPress galleries and taxonomies to organize and reuse your images.
Let’s say you’re a builder and you post all your jobs on your site and include an image gallery with each post. Now, suppose you want to display all your job images on a single portfolio page. What’s the easiest way to do that? Use the following:
[combine-galleries]
Suppose you build patios, decks, and enclosures. Now, suppose you want to display all your job images, grouped by job type, on a single portfolio page. Categorize your job posts (patio, deck, enclosure) and use the following:
[combine-galleries category="patio"]
[combine-galleries category="deck"]
[combine-galleries category="enclosure"]
Finally, suppose you want to create a page optimized for a specific city (let’s use Raleigh). And, on that page you want to display all your Raleigh jobs grouped by type. Tag your job posts by city and use the following:
[combine-galleries category="patio" tag="raleigh"]
[combine-galleries category="deck" tag="raleigh"]
[combine-galleries category="enclosure" tag="raleigh"]
Combine-Galleries allows you to combine and display gallery images from multiple posts based on taxonomy. The combine-galleries shortcode combines and displays image galleries from posts that match the categories and/or tags you specify. You don’t need to categorize or tag your images, just the posts. If you just want to display all gallery images on a single page, you don’t need to categorize or tag anything.
Supports custom types. Compatible with the WordPress gallery shortcode and WordPress gallery plugins and viewers. Quickly and easily create galleries for your archive pages. See usage examples and options below…
If you find this plugin useful, please consider a small donation of $5. All proceeds go to fund my current feature film project, Mango Dreams.
There are several options that may be specified using this syntax:
[combine-galleries option1="value1" option2="value2"]
You can also print a gallery directly in a template like so:
<?php echo do_shortcode('[combine-galleries option1="value1"]'); ?><h3>Options</h3>-----------------------------------------------------
Supported options are listed below. All options are, well, optional. You are not required to provide any options. For example, “[combine-galleries]” will work just fine and will display all gallery images from every post and page on your site. Default option values are used when options are not specified.
Default = “page,post”.
Specify the sort order of gallery posts. ASC or DESC (Default). For example, to sort by post ID from biggest to smallest:
[combine-galleries orderby=”ID” order=”DESC”]
specify the number of columns. The gallery will include a break tag at the end of each row, and calculate the column width as appropriate. The default value is 3. If columns is set to 0, no row breaks will be included. For example, to display a 4 column gallery:
[combine-galleries columns=”4″]
The size of the images for “thumbnail”, “medium” and “large” can be configured in WordPress admin panel under Settings > Media. For example, to display a gallery of medium sized images:
[combine-galleries size="medium"]
the name of the XHTML tag used to enclose each caption. The default is “dd”. For example, to change the gallery markup to use div, span and p tags:
[combine-galleries itemtag=”div” icontag=”span” captiontag=”p”]