內容簡介
此外掛擴充了Media Tags外掛的 shortcode 功能。透過 [media-tags media_tags="my-tag"] 取得的標籤清單只能適用於圖像,其他附件則產生無效的清單項目。因此,Multi-Media-Tags 就派上用場了。它會讀取附件的 MIME 類型(例如 image/png、video/ogg 或 application/json),並決定如何適當地對附件進行格式化。
其中最重要的新功能可能是後備解決方案:如果無法執行適當的動作,Multi-Media-Tags 會提供一個簡單的下載連結。目前提供的其他選項有:
對於 audio/* 類型的附件,提供 HTML5 的音訊播放器
對於 image/* 類型的附件,提供圖像標籤
使用 Multi-Media-Tags 必須安裝 Media Tags 外掛!
使用方法
此外掛透過其 shortcode 功能使用。使用的選項與 media-tags 的 shortcode 相同(請參考 media-tags 的管理頁面中的說明)。例如:
[multi-media-tags media_tags="mytag"]
[multi-media-tags media_tags="foo,bar,neither-nor" orderby="title" order="ASC"]
外掛標籤
開發者團隊
原文外掛簡介
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"]
