
內容簡介
這個外掛可以透過一行簡短的代碼在您的文章、頁面或小工具上創建一個漂亮的「蘋果風格」翻轉式計數器。這個外掛最初是用來追蹤 Booktrope 出版社送出的書籍數量,但也可以有很多其他用途。您可以設定起始數字、增加數字的幅度、計時器間隔和種子日期(即種子數字正確的日期)。
您可以在 http://booktrope.com 觀看計數器的實際範例。
這是短代碼:
[thecounter num=”989432″ date=”2013-04-01″ increment=”2″ pace=”600″]
num - 起始數字
date - 種子日期 YYYY-MM-DD(數字有效的日期)
increment - 每次計數器觸發時要新增的數字
pace - 增量新增前要等待多長時間(以毫秒為單位)
如果有種子日期,外掛會計算計數器應該觸發的次數,並將起始數字更新為當前時間正確的數字。
外掛標籤
開發者團隊
原文外掛簡介
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.
