Marketing · Elementor

Countdown & Timer widget for Elementor

A countdown to a date (or evergreen) for launches, sales, and events.

Open live demo

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

A countdown to a date (or evergreen) for launches, sales, and events.

render() writes HTML data attributes: data-actions, data-interval, data-item, data-show-again, data-text, data-type.

Some inspector controls are marked Pro in PHP (eicon-pro-icon / king-addons-pro-control). Those need King Addons Pro, not Elementor Pro.

The widget script reads data attributes: data-item.

Visitor state is stored in localStorage, not in post meta.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “Countdown & Timer”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Type”, “Due Date”, “Stop Showing After Date (Pro)”, “Show Days”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Countdown & Timer.

Inspector controls from this widget’s PHP

ControlWhat the code does
General — TypeThe chosen value is read in render() and applied on the front end. Options: Due Date; Evergreen (Pro).
General — Due DateDate set according to your timezone: %s.
General — Stop Showing After Date (Pro)When this switch is on, render() outputs the wrapped markup.
Content — Show DaysSwitcher inspector control (`show_days`).
Content — Show HoursSwitcher inspector control (`show_hours`).
Content — Show MinutesSwitcher inspector control (`show_minutes`).
Content — Show SecondsSwitcher inspector control (`show_seconds`).
Content — Show LabelsWhen this switch is on, render() outputs the wrapped markup.
Content — DisplayWrites CSS `display` onto the widget’s front-end markup. Options: Block; Inline.
Content — DayText inspector control (`labels_days_singular`).
Content — DaysText inspector control (`labels_days_plural`).
Content — HourText inspector control (`labels_hours_singular`).
Content — HoursText inspector control (`labels_hours_plural`).
Content — MinuteText inspector control (`labels_minutes_singular`).
Content — MinutesText inspector control (`labels_minutes_plural`).
Content — SecondsText inspector control (`labels_seconds_plural`).
Content — Show SeparatorsSwitcher inspector control (`show_separator`).
Expire Actions — Actions After Timer ExpiresThe chosen value is read in render() and applied on the front end. Options: Hide Timer; Hide Element; Display Message; Redirect; Load Template.
Expire Actions — CSS Selector to Hide ElementSaved on the widget and consumed in render().
Expire Actions — Display MessagePrinted in the widget HTML from render().
Expire Actions — Redirect URLSaved on the widget and consumed in render().
Expire Actions — Select TemplateAjax Select2: options load from a King Addons admin-ajax endpoint.
General — BackgroundElementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} .king-addons-countdown-item`.
General — WidthWrites CSS `max-width` onto the widget’s front-end markup. (min 0, max 100).
General — GutterWrites CSS (margin-left, margin-right) onto the widget’s front-end markup. (min 0, max 100).
General — PaddingWrites CSS `padding` onto the widget’s front-end markup.
General — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} .king-addons-countdown-item`.
General — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
General — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-countdown-item`.
Content — AlignmentWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.
Content — Numbers ColorWrites CSS `color` onto the widget’s front-end markup.
Content — Numbers Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Content — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-countdown-number`.
Content — Numbers PaddingWrites CSS `padding` onto the widget’s front-end markup.
Content — Labels ColorWrites CSS `color` onto the widget’s front-end markup.
Content — Labels Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Content — Typography (Labels Typography)Elementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-countdown-label`.
Content — Labels PaddingWrites CSS `padding` onto the widget’s front-end markup.
Content — Separator ColorWrites CSS `background` onto the widget’s front-end markup.
Content — Separator SizeWrites CSS (width, height) onto the widget’s front-end markup. (min 1, max 50).
Content — Dots MarginWrites CSS (span, margin-bottom) onto the widget’s front-end markup. (min 1, max 50).
Content — Separator Border RadiusSwitcher inspector control (`separator_circle`).
Message — AlignmentWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.
Message — ColorWrites CSS `color` onto the widget’s front-end markup.
Message — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Message — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-countdown-message`.
Message — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Message — Top DistanceWrites CSS `margin-top` onto the widget’s front-end markup. (min 0, max 100).

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

Which Countdown & Timer options need King Addons Pro?

Controls marked with the Pro icon in this widget’s PHP. King Addons Pro is a separate license from Elementor Pro.

How do I add Countdown & Timer in Elementor?

Install King Addons and Elementor, edit a page, search the panel for “Countdown & Timer”, drag it onto the canvas, then set Content and Style.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related marketing widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Countdown & Timer after you activate it.

Get King Addons