跳到内容

Infovarious Countup Timer

v1.2.0

infovarious · 2026年11月23日 上架

Shows the time elapsed since a given date as a count-up timer that updates every second, with blue card-style digits.

正在使用
10 以下
评分
暂无
累计下载
62
最近更新
2026年11月23日
需要 WordPress 6.3+已测试到 7.1.5PHP 7.4+

贡献者

Add the [infovarious_countup] shortcode to a post, page or widget. The timer shows how much time has passed since the start date, in days, hours, minutes and seconds, and updates every second. The day count supports 10,000 days and beyond.

Usage:

[infovarious_countup start="2026-11-01 09:00:00"]

Attributes:

  • start (required): start date and time, in the site’s time zone. Examples: 2026-11-01 or 2026-11-01 09:00:00.
  • title: replaces the automatic title (the formatted start date).
  • suffix: text after the date in the automatic title. Default: elapsed (translated, for example からの経過 in Japanese).
  • show_date: yes (default) or no. With no, the date is hidden from the automatic title and only the suffix text is shown. If suffix is also empty, no title is shown.
  • label_position: below (default) shows the unit labels under the digits; side shows them to the right of the digits.
  • theme: color theme. blue (default), green, red, pink or dark. Unknown values fall back to blue.
  • days: auto (default, show days only when one day or more has passed), yes (always show days, even 00) or no (never show days; hours keep counting past 24).
  • width: maximum width, for example 600px or 80%. Default: 760px.
  • label_days, label_hours, label_minutes, label_seconds: unit labels. Defaults: days, hrs, min, sec (translated, for example 日, 時間, 分, 秒 in Japanese).

The timer uses the visitor’s device clock and recalculates elapsed time from the fixed start date on every update. It therefore catches up correctly after page reloads, tab switching, browser sleep and page-cache delivery. Day values are not limited to four digits.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums