MC Annual Upcounter

描述

Pounds of wasted food, gallons of ice cream, babies born, cars sold … any number that accrues througout the year, updated live on the website page.
* Enter a total number of anything for the full year. This plugin shows the corresponding accumulated number at this date and time in a continuously-running live counter on website pages.
* The counter automatically re-sets the running total to zero when the user’s device reaches midnight on December 31.
* You can re-set the total number for the year at any time and the plugin will recalculate.

屏幕截图

  • This is a screenshot of how the counter looks on a national gleaning organization website.
  • Here's an example based on 465 million gallons per year.
  • This is an upcount of babies born in the U.S., most recently, 3,788,235 in a year.
  • This is the settings page. Enter your annual total and how often you want the counter to update on the web page.

安装

  1. Download and Activate the plugin.
  2. The settings page link is on the left vertical menu, as “MC Annual Upcounter” under “Settings, and also under the namne on the plugins list.”
  3. On the settings page, enter the number that is your total for the year. The plugin will track the count, by second, throughout the year and show the number on the web page.
  4. On the settings page, enter how often the counter will update, 1-120 seconds.
  5. Add the shortcode [mcau_annual_upcounter] to any page, sidebar, or the footer. Add it to your text to have the count show in a sentence.

常见问题

How often will the counter update on the webpage?

  • It will recalculate and update on the page every 1 to 120 seconds – you set the update frequency. For most purposes, 120 seconds is fine. For very large numbers that will change every few seconds, you might want to update more frequently.

What is the shortcode?

  • [mcau_annual_upcounter]

Where can I enter the shortcode?

  • On any page or pages, sidebar, or footer.

Can I re-set the total for the year at any time?

  • Sure. The plugin will just do the math the next time the page loads.

How do I re-set the count on January 1?

  • You don’t have to. It will automatically re-set to zero when the user’s device reaches midnight on December 31.

评价

此插件暂无评价。

贡献者及开发者

“MC Annual Upcounter” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“MC Annual Upcounter”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

  • 2.1.2. Code edits. Compatible now with PHP 8.
  • 2.1.1 Code edit. Compatible with PHP 7.4
  • 2.1 Initial release on WordPress.org