该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Booktrope – Counter

描述

This plugin creates a beautiful “Apple style” flip-clock counter on your post, page or widget using a single short code. This plugin was created to track the number of books delivered by Booktrope Publishing, but could have many other uses. 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

Short Code:

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

num - starting number
date - seed date YYYY-MM-DD (date on which the number was valid)
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.

屏幕截图

  • Booktrope Apple Style Counter in action

安装

  1. Upload the bt-counter folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To test:
  4. Create a new page or post and add the text: [thecounter]
  5. Publish the page and the counter should appear using the default values.
  6. Edit the page or post and customize the counter rate, increment, starting value and date

Short Code Definition:

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

    num - starting number
    date - seed date YYYY-MM-DD (date on which the number was valid)
    increment - how many to add each time the counter fires
    pace - how long in milliseconds to wait until adding the increment

评价

此插件暂无评价。

贡献者及开发者

“Booktrope – Counter” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Booktrope – Counter”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1

  • Initial release