[WordPress] 外掛分享: List Media

首頁外掛目錄 › List Media
WordPress 外掛 List Media 的封面圖片
10+
安裝啟用
尚無評分
2127 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0 上架:2016-02-29

內容簡介

這個外掛允許您在自訂的頁面/文章上列出所有或部分媒體。
只需使用一個簡單的短碼 - [list_media]

它可以使用七個屬性:

order - 告訴外掛如何排序結果。默認為 ASC。
order_by - 告訴外掛按什麼排序結果(它可以使用所有的 WordPress 排序方法)。默認值為 publish_date。
posts_per_page - 告訴外掛應列出多少個附件。默認值為 -1,即表示全部。
post_status - 告訴外掛要列出哪些附件。默認為 null,表示列出所有可用的附件。
post_parent - 告訴外掛列出所有父 ID 等於指定參數的附件。默認為 null。
default_styles - 告訴外掛前端表格應該長什麼樣子。如果參數為 true,它會附加表格的默認樣式。默認為 true。
date_format - 告訴外掛日期應該如何格式化為表格的日期欄位。

可以在這裡找到短碼及其屬性的完整描述 - https://github.com/Gero0Nikolov/list-media-wp.git

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「List Media」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin allows you to list all (or part) of your medias on custom Page / Post.
With one simple shortcode – [list_media]
It can take 7 attributes:

order – This tells the plugin how to sort the results. By default it is ASC
order_by – This tells the plugin by what to sort the results (It can use all of the WordPres sorting methods). By defualts it is publish_date
posts_per_page – This tells the plugin how much attachments should list. By defaults it is -1, which means All
post_status – This tells the plugin which attachments to list. By default it is null with that it lists all available attachments.
post_parent – This tells the plugin to list all attachments with parent ID equal to the given parameter. By defaults it is null.
default_styles – This tells the plugin how the Front-end Table should look like. If the parameter is true it appends the default styles of the table. By default it is true.
date_format – This is tells the plugin how the date should be formated into the Date field of the Table.

Full description of the Shortcode and it’s attributes can be found here – https://github.com/Gero0Nikolov/list-media-wp.git

延伸相關外掛

文章
Filter
Apply Filters
Mastodon