
內容簡介
如果您需要使用 JSON API (https://wordpress.org/plugins/json-api/) 從其他網站或您的網站中獲取信息,您可以使用這個外掛程式。
對於幻燈片,此外掛程式使用了 Cycle2 (http://jquery.malsup.com/cycle2)。
簡碼
[getapi url="www.mysite.com" limit="5" type="[CYCLE or LIST]"]:
url:在 ?json=get_recent_posts 之前的 URL
limit:JSON 結果的元素數量
type:“Cycle” 是縮略圖幻燈片或 “List” 是文章標題清單
外掛標籤
開發者團隊
原文外掛簡介
If you need to get the information from another site or your site using JSON API (https://wordpress.org/plugins/json-api/) you can use this plugin.
For slideshow this plugin use Cycle2 (http://jquery.malsup.com/cycle2).
Shortcode
[getapi url="www.mysite.com" limit="5" type="[CYCLE or LIST]"]:
url: url before ?json=get_recent_posts
limit: number element of json result
type: “Cycle” is a slideshow of thumbs or “List” is the list of post titles
