This plugin adds a variety of additional features to the core gallery shortcode that expand the options for specifying which images should be included in the gallery including the ability to create dynamic galleries of images that match a specific taxonomy “term”. This is particularly useful when used in conjunction with the PhotoPress – Image Taxonomies plugin which allows you to easily associate a wide variety of custom meta data with images.
Also, the plugin can be used to create gallery containing with the featured images of any Pages/Posts (even custom post types) that you specify. This is particularly useful when creating a “Gallery of Galleries” or any grouping of Posts that you want to be styled like your other galleries.
The PhotoPress team does not provide support for this plugin on the WordPress.org forums. One on one email support is available to users that purchase one of our Premium Support Plans.
For more information on ways to use PhotoPress and other plugins to build a photpgraphy website check out the WordPress For Photographers e-Book.
Display a gallery of images from an image taxonomy called “photo_keywords” that match a taxonomy term called “flower”:
[gallery taxonomy="photo_keywords" term="flowers"]
Display a gallery of of images with no captions:
[gallery caption_source="none"]
Display a gallery of the featured images from a specific set of pages:
[gallery post_type="page" ids="123,456,789"]
Display a gallery of the featured images from the child posts of a specific page:
[gallery post_type="page" id="123"]
Display a gallery of the featured images from a specific set of posts that use a custom post type:
[gallery post_type="my_custom_post_type" ids="123,456,789"]<h3>Developer Documentation</h3>
Please read the inline code documentation for more details.
List of Gallery related filters this plugin implements:
post_gallery_attachments
– can be used ot filter the list of Post objects that the gallery shortcode will pull its images from.post_gallery_styles
– can be used ot append/prepend/replace the inline style generated by the gallery shortcodepost_gallery_pre_output
– can be used to prepend HTML to the gallery markup. Handy for wrapping the gallery in a container.post_gallery_caption
– can be used to filter the caption text used by the gallerypost_gallery_post_output
– can be used to append HTML to the gallery markup. Handy for adding a closing tag or addtional dom elements