Extends the [gallery] shortcode to be able to create galleries from image taxonomies or the featured images of specific Posts.
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:
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"]
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 shortcode
post_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 gallery
post_gallery_post_output- can be used to append HTML to the gallery markup. Handy for adding a closing tag or addtional dom elements
Requires: 3.7 or higher
Compatible up to: 3.7.8
Last Updated: 2014-2-24
Active Installs: 400+
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?