This plugin extends the gallery shortcode to provide the option to only include images that match a term contained in a custom taxonomy.
Author: | Peter Adams (profile at wordpress.org) |
WordPress version required: | 3.7 |
WordPress version tested: | 4.9.4 |
Plugin version: | 1.8 |
Added to WordPress repository: | 11-01-2012 |
Last updated: | 23-03-2018
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 70 |
Rated by: | 2 |
Plugin URI: | http://www.photopressdev.com |
Total downloads: | 10 608 |
Active installs: | 80+ |
Click to start download
|
Screenshots
Taxonomy and Term Shortcode Usage
FAQ
Installation Instructions
- Upload the
photopress-galleries
plugin folder to your /wp-content/plugins/
directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Add parameters to the gallery shortcode in your page/post like so
. (see screenshot)
Why do I need this plugin?
There are a few reasons:
- You want to create dynamic galleries that contain images which match taxonomy meta data you have associated with your images.
- You want to create a “gallery of galleries” by display the featured images of specific Pages or Posts.
- You want per gallery control over image captions and the source of the text used
- You want to create a gallery that contains the featured images of pages or custom post types without having to resort to add/modify templates in your theme.
How do I associate terms with images?
You would need to register a custom taxonomy for attachments/images or you could just use the PhotoPress – Image Taxonomies plugin.
What happens if I deactivate this plugin
If you are using the taxonomy and term shortcode params, then your galleries will no longer display images.
If you are using the caption_source param then WordPress wil revert to using the excerpt as the source of the cpation text.
if You are using the post_type param then your gallery will no longer display images.
ChangeLog
1.8
removing srcset attribute from gallery thumbnail/icons to prevent browsers from needlessly downloading larger versions of the image.
1.7
Added gallery_item_class, gallery_item_properties, gallery_icon_class, gallery_icon_properties, gallery_caption_class, and gallery_caption_properties filters.
1.6
Bug fixes
1.5
- Fixes bug that could cause a taxonomy gallery to be empty
1.4
- Adds “caption_source” shortcode parameter.
- Adds “post_type” shortcode parameter
- Removing support for include_order as WordPress now supports that functionality by default in core
1.3
Removing support for pre WP 3.5 ‘include-order’ shortcode param now that 3.5 supports explicit ordering of images when using the ‘include’ or ‘ids’ shortcode params.
Fixed bug in column generation code.
1.2
Changed plugin priority to 99 so that other gallery filters do not take over.
1.1
Adding support for WP 3.5
1.0
Initial version of plugin.