–Basic Way–
–基本方式– p>
Rotator ID
旋转器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.
使用简码[bRadRotator id ='RotatorID']使B-Rad Rotator检索具有给定RotatorID的所有缩略图和动作URL的所有帖子,并将它们显示在Rotator中。 p>
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.
安装B-Rad Rotator可使用户添加旋转器的缩略图URL和它们要访问的操作URL,然后使用Rotator ID将这些缩略图分组为单独的旋转器。
After you have installed this plugin, you will notice a new option for your posts in the admin section of your site.
安装此插件后,您将在网站的“管理”部分中看到帖子的新选项。 p>
Each post can have its own Thumbnail and Action URL.
每个帖子可以有自己的缩略图和操作URL。
By using the same Rotator Id in several posts, you can add more items to that rotator.
通过在多个帖子中使用相同的Rotator ID,您可以向该Rotator添加更多项目。 p>
–Advanced Ways–
–高级方式– p>
Ajax Url
Ajax网址
use shortcode [bRadRotator ajaxUrl=’http://someURL’ ] to have B-Rad Rotator retrieve the URL response in the form of a json object (json_encode).
使用shortcode [bRadRotator ajaxUrl ='http:// someURL']使B-Rad Rotator以json对象(json_encode)的形式检索URL响应。 p>
JSON
JSON
Use shortcode [bRadRotator json='{“json”:”test json”}’ ] to have B-Rad Rotator parse the passed JSON to populate itself.
使用简码[bRadRotator json ='{“ json”:“ test json”}']]使B-Rad Rotator解析所传递的JSON进行填充。 p>
JSON FORMAT{
JSON格式{ p>
“item0” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”},
“ item0”:{“ thumbUrl”:“ UrlToImage”,“ actionUrl”:“ UrlToGoToWhenClicked”}, p>
“item1” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”}
“ item1”:{“ thumbUrl”:“ UrlToImage”,“ actionUrl”:“ UrlToGoToWhenClicked”} p>
}
} p>
B-Rad Rotator is available in:
B-Rad Rotator可用于: p>