Effects · Gutenberg

Countdown Progress block for WordPress

Visual ring or bar countdown timer to a target date, with live ticking.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Visual ring or bar countdown timer to a target date, with live ticking.

Inspector panels on this block: Content, Style & Layout, Units. Those titles come from index.js, not from a shared template.

Behavior controls: “Display Style” options: Rings (SVG), Bars.

Where to find it

Gutenberg inserter → Effects → search “Countdown Progress” (block name `blockenberg/countdown-progress` in block.json). Style it in the sidebar after insert.

How to use Countdown Progress block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Countdown Progress”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Content. Set “Heading”, “Subtext”, “End Date (YYYY-MM-DDTHH:mm:ss)”, “Display Style”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
HeadingText field in the inspector. block.json default: Launching In. Saved as `heading`.
SubtextText field in the inspector. block.json default: Don't miss out — get notified when we go live.. Saved as `subtext`.
End Date (YYYY-MM-DDTHH:mm:ss)Text field in the inspector. Saved as `endDate`.
Display StyleSelect control; the chosen value is saved on the block. Options: Rings (SVG); Bars. block.json default: ring. Saved as `style`.
Ring RadiusNumeric range control in the inspector. Range 30–100. block.json default: 60. Saved as `radius`.
Stroke WidthNumeric range control in the inspector. Range 4–20. block.json default: 10. Saved as `strokeWidth`.
Max WidthNumeric range control in the inspector. Range 400–1400. block.json default: 900. Saved as `maxWidth`.
Padding TopNumeric range control in the inspector. Range 0–200. block.json default: 80. Saved as `paddingTop`.
Padding BottomNumeric range control in the inspector. Range 0–200. block.json default: 80. Saved as `paddingBottom`.
Show DaysOn/off toggle in the inspector. On by default. Saved as `showDays`.
Show HoursOn/off toggle in the inspector. On by default. Saved as `showHours`.
Show MinutesOn/off toggle in the inspector. On by default. Saved as `showMins`.
Show SecondsOn/off toggle in the inspector. On by default. Saved as `showSecs`.
Show LabelsOn/off toggle in the inspector. On by default. Saved as `showLabels`.
Colors — BackgroundColor control in the inspector. block.json default: #0f172a. Saved as `bgColor`.
HeadingColor control in the inspector. block.json default: #ffffff. Saved as `headingColor`.
SubtextColor control in the inspector. block.json default: #94a3b8. Saved as `subColor`.
Ring / Bar FillColor control in the inspector. block.json default: #6366f1. Saved as `ringColor`.
Ring / Bar TrackColor control in the inspector. block.json default: #1e293b. Saved as `ringBg`.
NumberColor control in the inspector. block.json default: #ffffff. Saved as `numColor`.
Unit LabelColor control in the inspector. block.json default: #94a3b8. Saved as `labelColor`.
Heading (Typo Heading)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoHeading`.
Subtext (Typo Sub)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoSub`.
Number (Typo Num)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoNum`.
Unit Label (Typo Unit)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoUnit`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Countdown Progress block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Countdown Progress”. It sits under Effects. After insert, open Content and set “Heading”, “Subtext”, “End Date (YYYY-MM-DDTHH:mm:ss)”, “Display Style”.

What makes Countdown Progress different from other Blockenberg blocks?

Visual ring or bar countdown timer to a target date, with live ticking. Inspector labels on this block include “Heading”, “Subtext”, “End Date (YYYY-MM-DDTHH:mm:ss)”, “Display Style”.

Is the Countdown Progress Gutenberg block free?

Yes. Countdown Progress ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Countdown Progress to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Content, Style & Layout, Units).

Related effects blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Countdown Progress from the Gutenberg inserter.

Get Blockenberg