With this plugin you can tag media contents in your library. After that you'll be able to display all images from a certain tag or tags.
If you ever wanted to tag your media contents in WordPress, now you can. Tags can provide a comprehensive organization of different medias from different posts. Each tag is working like an own group. Medias with the same tags can be filtered by clicking on their tag names inside the media library. This helps you to organize a large amount of medias and even more: With a shortcode you can display all medias from a specific tag like a gallery.
To display 5 images which have a tag named 'Flowers' and 'Screenshots' you can manually add the following shortcode in HTML view:
[mediatag name="flowers, screenshots" size="thumbnail" number=5]
Display all images which are tagged with 'Flowers' and 'Screenshots' in 80 x 80 Pixel with the HTML class 'demo':
[mediatag name="flowers, screenshots" size="80, 80" class="demo"]
(string) The name of the tag or tags separated by comma
(integer) The amount of images you want do display. Type '-1' to show all images.
(string) The name of your favored class
If you want to add all medias from a specific tag in your template use this code:
<?php if (class_exists('wp_media_tags_plugin')) print wp_media_tags_plugin::media_tags_query('flowers, screenshots', '80, 80', '-1', 'demo'); ?>
thumbnail you can use the thumbnail sizes like above.
Note: Before installing or upgrading new plugins, please backup your database first!
Thanks to all people out there using my plugin, giving ideas and help to develop it further.
Requires: 3.5+ or higher
Compatible up to: 3.5.2
Last Updated: 3 years ago
Active Installs: 1,000+
Got something to say? Need help?