Infovarious Countup Timer

Description

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.

Installation

  1. Upload the infovarious-countup-timer folder to the /wp-content/plugins/ directory, or install the plugin from the Plugins screen.
  2. Activate the plugin.
  3. Add the [infovarious_countup start="2026-11-01 09:00:00"] shortcode where you want the timer.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Infovarious Countup Timer” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.0

  • New theme attribute with five color themes: blue (the default design, unchanged), green, red, pink and dark. Nothing is stored in the database.

1.1.2

  • The automatic title now shows the month and day with two digits in English (1999-04-15). The Japanese title is unchanged (1999年4月15日).

1.1.1

  • The default of the days attribute is auto again, as in 1.0.x: days appear once one day or more has passed. Use days="yes" to always show them.
  • An unknown days value now falls back to auto everywhere (PHP and JavaScript).

1.1.0

  • Days, hours, minutes and seconds are displayed by default, including zero days.
  • Supports 10,000 days and larger day counts with dynamically generated digit cards.
  • Recalculates from the original start timestamp rather than incrementing a counter, keeping the display accurate after reloads and tab/background restoration.
  • Refreshes immediately on page show, tab return and window focus.

1.0.2

  • All texts are now in English and translatable (a Japanese translation is available). Default labels and the automatic title follow the site language.
  • Side labels are measured by character type, so Latin labels such as “days” fit as well as Japanese ones.

1.0.1

  • The start date is now checked strictly (YYYY-MM-DD, optional HH:MM[:SS]). Words such as “now”, impossible dates such as 2026-02-31, and years before 1900 are rejected with a notice for editors.
  • Titles and labels are limited in length so they cannot break the layout.
  • Unknown values for label_position, show_date and days fall back to the defaults.
  • Requires WordPress 6.3 or later (script loading strategy).

1.0.0

  • First release.