开发者 | der-burger |
---|---|
更新时间 | 2013年2月6日 02:12 |
捐献地址: | 去捐款 |
PHP版本: | 3.4 及以上 |
WordPress版本: | 3.5.1 |
版权: | GPLv3 |
版权网址: | 版权信息 |
[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:
[multi-media-tags media_tags="mytag"]
[multi-media-tags media_tags="foo,bar,neither-nor" orderby="title" order="ASC"]
Exactly the same that you can use for the [mediatags]
shortcode.
At the moment images get an <img>
-tag and audio gets an <audio>
-tag. All other attachments are represented as a download link.