
內容簡介
該外掛新增了一個元框,以上傳多個圖片到文章和頁面。你也可以啟用它用在自定文章類型,請參考安裝說明。
miu_get_images()
此函數可從任何模板檔案中調用,以取得頁面/文章所附帶的圖片。
它會返回一個連結附加圖片 URL 的陣列。
它只需要一個參數:
post_id(整數),以取得連結到特定文章的圖片
http://www.example.com/image-1.png
[1] => http://www.example.com/image-2.png
)
?>
外掛標籤
開發者團隊
原文外掛簡介
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
)
?>
