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.
- Ability to tag media contents
- Separate taxonomy for media tags
- Displaying tags in library
- Extra field for media tags during upload
- Support for multiple tags in shortcode
- Localization in English and German
- No coding needed
- Custom image sizes
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
- thumbnail (default 150px x 150px max)
- medium (default 300px x 300px max)
- large (default 640px x 640px max)
- full (original resolution)
- 80, 80 (80 x 80 Pixel for example)
(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:
thumbnail you can use the thumbnail sizes like above.
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:
- Navigate to ‘Add New’ under ‘Plugins’ menu in admin area
- Upload or choose
wordpress-media-tags.zipfrom ‘Install Plugins’
- Activate the plugin through the ‘Plugins’ menu in WordPress
For more information please follow WordPress Codex – Installing Plugins.
- Will it cause trouble to my library after deactivation?
No, it will not.
- How I can be sure that the plugin works properly?
Upload a new picture and give it a tag. Then add a shortcode with this tag in one post.
- Will this plugin works together with other plugins?
Yes, it’s isolated in a own class.
This plugin does the trick. Why isn’t this part of WordPress core?? It seems bizarre to me that you can’t organize/search for media using tags!
Contributors & Developers
“WordPress Media Tags” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Adding custom classes and user defined amount of images
- Ability to use custom image sizes
- Supports now multiple tags in shortcode
- Fix for the new Media Manager in WordPress 3.5
- Solving bug with shortcode output
- Basic functionality with shortcode support.