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:
Instead of 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.
There are several ways to install a plugin in WordPress. For newbies this way is highly recommended:
wordpress-media-tags.zip
from ‘Install Plugins’For more information please follow WordPress Codex – Installing Plugins.
No, it will not.
Upload a new picture and give it a tag. Then add a shortcode with this tag in one post.
Yes, it’s isolated in a own class.