描述
This plugin extends the shortcode functionality of the Media Tags plugin. The tag listings available via [media-tags media_tags="my-tag"]
are intended for images only, other attachments produce invalid list items. This is where Multi-Media-Tags comes to the rescue. It reads the attachments MIME type (e.g. image/png, video/ogg or application/json) and decides how to format the attachment appropriately.
The most important new feature is perhaps the fallback solution: If no appropriate actions can be taken, Multi-Media-Tags provides a simple download link. The other available options right now are:
- an HTML5 audio player for audio/*
- an image tag for image/*
The Media Tags plugin is required to use Multi-Media-Tags!
Usage
The plugin is used via its shortcode. The options are the same as for the media-tags shortcode (see the help page in the media-tags admin menu). Examples:
[multi-media-tags media_tags="mytag"]
[multi-media-tags media_tags="foo,bar,neither-nor" orderby="title" order="ASC"]
安装
To install the plugin follow these simple steps:
- Download the plugin archive
- Extract the archive in your wp-content/plugins directory
- Activate the plugin through the Plugins menu in WordPress
- Start using the shortcodes as described above
常见问题
- Which parameters can I use for the shortcode?
-
Exactly the same that you can use for the
[mediatags]
shortcode. - Which MIME types are covered?
-
At the moment images get an
<img>
-tag and audio gets an<audio>
-tag. All other attachments are represented as a download link.
评价
此插件暂无评价。
贡献者及开发者
更新日志
0.2.1
Resolved babylonic version number irritation, made extensions for future development
0.2
Tagged everything the right way
0.1.1
Fixed a critical syntax error
0.1
This is the first version. It includes special listing options for
- audio files
- image files
and provides download links for all the other MIME types.