[wordpress插件] Booktrope – Counter书房–柜台

wordpress 插件 文章 2020-03-09 05:30 477 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin creates a beautiful “Apple style” flip-clock counter on your post, page or widget using a single short code.

此插件使用单个短代码在您的帖子,页面或窗口小部件上创建漂亮的“ Apple风格”全天候计数器。

This plugin was created to track the number of books delivered by Booktrope Publishing, but could have many other uses.

创建此插件是为了跟踪Booktrope Publishing提供的图书数量,但可以有许多其他用途。

You can set the starting number, the increment, the pace, and a seed date (the date on which the seed number was correct).

您可以设置起始编号,增量,节奏和种子日期(种子编号正确的日期)。

You can see an example of the counter in action at http://booktrope.com

您可以在http://booktrope.com 上看到一个计数器的示例

Short Code:

短代码:

[thecounter num=”989432″ date=”2013-04-01″ increment=”2″ pace=”600″]

[计数器num =” 989432” date =” 2013-04-01” crement =” 2” speed =” 600”]

num - starting number

  num-起始编号

date - seed date YYYY-MM-DD (date on which the number was valid)

日期-种子日期YYYY-MM-DD(该数字有效的日期)

increment - how many to add each time the counter fires

增量-每次触发时添加多少

pace - how long in milliseconds to wait until adding the increment

步伐-等待增加增量之前要等待的毫秒数

If a seed date exists, the plugin will calculate how many times the counter would have fired and update the starting number to be correct for the current time.

如果存在种子日期,则插件将计算计数器将被触发多少次,并将起始编号更新为当前时间正确。

安装步骤

    1. Upload the bt-counter folder to the /wp-content/plugins/ directory
    2. bt-counter 文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. To test:
    6. 要测试:

    7. Create a new page or post and add the text: [thecounter]
    8. 创建新页面或发布并添加文字: [计数器]

    9. Publish the page and the counter should appear using the default values.
    10. 发布页面,计数器应使用默认值显示。

    11. Edit the page or post and customize the counter rate, increment, starting value and date
    12. 编辑页面或发布并自定义计数器汇率,增量,起始值和日期

    Short Code Definition:

    短代码定义:

    [thecounter num=”989432″ date=”2013-04-01″ increment=”2″ pace=”600″]

    [计数器num =” 989432” date =” 2013-04-01” crement =” 2” speed =” 600”]

        num - starting number    

      num-起始编号    

    date - seed date YYYY-MM-DD (date on which the number was valid)    

    日期-种子日期YYYY-MM-DD(该数字有效的日期)    

    increment - how many to add each time the counter fires    

    增量-每次触发时添加多少    

    pace - how long in milliseconds to wait until adding the increment

    步伐-等待增加增量之前要等待的毫秒数

下载地址
https://downloads.wordpress.org/plugin/booktrope-counter.zip
-EOF-

AI助手支持GPT4.0