20+
安裝啟用
★★★★★
5/5 分(1 則評價)
3412 天前
最後更新
—
問題解決
WordPress 4.0+ v2.0 上架:2014-09-20
內容簡介
預設情況下,畫廊短碼不允許限制顯示的圖片數量。這在以下的範例中是合理的,例如您想以以下方式包含所有附加在文章中的圖片:
啟用此外掛後,您可以使用:
它只會顯示三張圖片。
您也可以使用偏移量參數:
將顯示最多三張圖片,開始於第二個。
請注意,此外掛有些許的技巧。
外掛標籤
開發者團隊
⬇ 下載最新版 (v2.0) 或搜尋安裝
① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Limit parameter for gallery shortcode」→ 直接安裝(推薦)
② 後台搜尋「Limit parameter for gallery shortcode」→ 直接安裝(推薦)
原文外掛簡介
By default, the gallery shortcode does not allow to limit the number of images displayed. This makes sense when you for example include all images attached to a post like this:
When this plugin is activated, you may use:
and it will only display three images.
You can also use an offset parameter:
Will display at most three images, starting at the second.
Note that this plugin is a little bit of a hack.
