[wordpress插件] B-Rad RotatorB-Rad转子

wordpress 插件 文章 2020-02-28 00:30 509 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

–Basic Way–

–基本方式–

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中。

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.

安装此插件后,您将在网站的“管理”部分中看到帖子的新选项。

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添加更多项目。

–Advanced Ways–

–高级方式–

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响应。

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进行填充。

JSON FORMAT{

JSON格式{

“item0” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”},

“ item0”:{“ thumbUrl”:“ UrlToImage”,“ actionUrl”:“ UrlToGoToWhenClicked”},

“item1” : { “thumbUrl” : “UrlToImage”, “actionUrl” : “UrlToGoToWhenClicked”}

“ item1”:{“ thumbUrl”:“ UrlToImage”,“ actionUrl”:“ UrlToGoToWhenClicked”}

}

}

B-Rad Rotator is available in:

B-Rad Rotator可用于:

    • English
    • 英语

    Documentation

    文档

    Additional documentation can be found on the B-Rad Rotator page.

    其他文档可以在 B-Rad Rotator 页面上找到。

安装步骤

The plugin is simple to install:

该插件易于安装:

    1. Download b-rad-rotator.zip
    2. 下载 b-rad-rotator.zip

    3. Unzip
    4. 解压缩

    5. Upload b-rad-rotator directory to your /wp-content/plugins directory
    6. b-rad-rotator 目录上传到您的 / wp-content / plugins 目录

    7. Go to the plugin management page and enable the plugin
    8. 转到插件管理页面并启用插件

    9. Chose a method of use as outlined above.
    10. 选择上面概述的使用方法。

下载地址
https://downloads.wordpress.org/plugin/b-rad-rotator.1.0.1.zip
-EOF-

AI助手支持GPT4.0