
內容簡介
–基本方式–
旋轉器 ID
使用短碼 [bRadRotator id=’RotatorID’ ] 將會讓 B-Rad Rotator 取得所有具有給定 RotatorID 且同時具有縮圖 URL 及動作 URL 的文章,並在旋轉器中顯示它們。
新增旋轉器項目
安裝 B-Rad Rotator 可讓使用者新增旋轉器縮圖 URL 及其對應的動作 URL,藉由 Rotator ID 將這些縮圖分組成不同的旋轉器。在安裝此外掛後,您將會在網站管理區的文章選項中看到一個全新的選項。
每篇文章都可以有其獨立的縮圖及動作 URL。
在不同的文章中使用相同的 Rotator Id,您可以將更多項目新增至該旋轉器。
–進階方式–
Ajax 地址
使用短碼 [bRadRotator ajaxUrl=’http://someURL’ ],B-Rad Rotator 將會擷取網址回應,回應內容將以 JSON 物件(json_encode)的形式呈現。
JSON
使用短碼 [bRadRotator json='{“json”:”test json”}’ ],可以讓 B-Rad Rotator 解析傳遞的 JSON 並重新填充自己。
JSON 格式{
“item0” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”},
“item1” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”}
}
B-Rad Rotator 提供以下語言版本:
英文
文件
更多文件可在B-Rad Rotator頁面中找到。
外掛標籤
開發者團隊
原文外掛簡介
–Basic Way–
Rotator ID
Use shortcode [bRadRotator id=’RotatorID’ ] to have B-Rad Rotator retrieve all posts with the given RotatorID that have both a Thumbnail URL and an Action URL and display them in a rotator.
Adding Rotator Items
Installing B-Rad Rotator enables the user to add rotator Thumbnail URLs and the Action URLs they go to, and then group these thumbnails into separate rotators using a Rotator ID. After you have installed this plugin, you will notice a new option for your posts in the admin section of your site.
Each post can have its own Thumbnail and Action URL.
By using the same Rotator Id in several posts, you can add more items to that rotator.
–Advanced Ways–
Ajax Url
use shortcode [bRadRotator ajaxUrl=’http://someURL’ ] to have B-Rad Rotator retrieve the URL response in the form of a json object (json_encode).
JSON
Use shortcode [bRadRotator json='{“json”:”test json”}’ ] to have B-Rad Rotator parse the passed JSON to populate itself.
JSON FORMAT{
“item0” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”},
“item1” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”}
}
B-Rad Rotator is available in:
English
Documentation
Additional documentation can be found on the B-Rad Rotator page.
