[WordPress] 外掛分享: Multi Image Upload

首頁外掛目錄 › Multi Image Upload
WordPress 外掛 Multi Image Upload 的封面圖片
400+
安裝啟用
★★★★★
5/5 分(7 則評價)
2541 天前
最後更新
問題解決
WordPress 2.8+ v2.0 上架:2013-11-13

內容簡介

該外掛新增了一個元框,以上傳多個圖片到文章和頁面。你也可以啟用它用在自定文章類型,請參考安裝說明。

miu_get_images()

此函數可從任何模板檔案中調用,以取得頁面/文章所附帶的圖片。
它會返回一個連結附加圖片 URL 的陣列。

它只需要一個參數:

post_id(整數),以取得連結到特定文章的圖片

http://www.example.com/image-1.png
[1] => http://www.example.com/image-2.png
)

?>

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin adds a meta box to upload multiple images for posts and pages. You can enable it for custom post types also, please see installation instructions.
miu_get_images()
This function can be called from any template file to get attached images for the page/post being viewed.
It returns an array of the attached image URL.
It take only one argument:

post_id (integer) to get images linked to a specific post
http://www.example.com/image-1.png
[1] => http://www.example.com/image-2.png
)
?>

延伸相關外掛

文章
Filter
Apply Filters
Mastodon