-
Notifications
You must be signed in to change notification settings - Fork 5
Blocks Countdown Timer
Version: 1.0.0 Category: Widgets Keywords: countdown, timer, clock, deadline, event
The Countdown Timer Block displays a live countdown to a specific date and time with customizable styling. Perfect for product launches, event announcements, sales deadlines, and time-sensitive promotions.
Key Features:
- Live countdown (updates every second)
- Timezone support for accurate global timing
- 3 layout options (boxed, inline, compact)
- Toggle individual units (days, hours, minutes, seconds)
- Customizable completion actions and messages
- Full styling controls (colors, borders, spacing)
- Insert the Countdown Timer block.
- Set your target date and time in the Date & Time panel.
- Choose timezone (defaults to site timezone).
- Select a layout style (Boxed recommended for visual impact).
- Customize colors and appearance as needed.
- Target Date & Time: Pick your deadline using date/time picker
- Timezone: Select timezone for accurate countdown (uses WordPress site timezone by default)
Toggle which units to show:
- Show Days: Display days remaining (recommended for long countdowns)
- Show Hours: Display hours (0-23 or total hours)
- Show Minutes: Display minutes (0-59)
- Show Seconds: Display seconds (0-59) - creates sense of urgency
Layout Options:
- Boxed: Units in individual boxes (most visual)
- Inline: Units in horizontal row (compact)
- Compact: Minimal spacing (space-saving)
- Number Color: Color for countdown numbers
- Label Color: Color for unit labels (Days, Hours, etc.)
- Unit Background: Background color for each unit box
- Unit Gap: Spacing between units
- Unit Padding: Inner padding for each unit box
- Border Color: Custom border color for unit boxes
- Border Style: Solid, dashed, dotted, double
- Border Width: Border thickness (px)
- Border Radius: Rounded corners (px)
Action on completion:
- Show Message: Display custom message when countdown ends
- Hide Timer: Hide entire block when countdown ends
Completion Message: Customize text shown when timer reaches zero
Set timer to launch date. Use Boxed layout with large numbers. Show all units. "Launching Soon!" completion message.
Short-term sale countdown. Use Inline layout. Show hours, minutes, seconds only. "Sale Ended" completion message.
Countdown to event start. Use Boxed layout. Show days and hours. "Event Started!" completion message.
Create urgency for special offers. Use Compact layout. Show minutes and seconds. Hide timer on completion.
DO:
- Set timezone correctly for global audiences
- Test completion behavior before publishing
- Use appropriate units (days for long waits, seconds for urgency)
- Match colors to your brand/theme
- Place prominently near related CTA
DON'T:
- Use for dates in the past (shows zero/message immediately)
- Show seconds for countdowns over 7 days (creates false urgency)
- Forget to set a completion message
- Use tiny font sizes (readability matters)
-
Semantic HTML: Uses
<time>elements for screen readers - ARIA Labels: Unit labels announce properly
- Color Independence: Don't rely solely on color to convey urgency
- Text Readability: Ensure sufficient contrast for numbers and labels
- Recurring Events: Update target date after each event for reusable countdowns
- Testing: Set timer to 1 minute ahead to test completion behavior
- Urgency Colors: Use red/orange for final hours, blue/green for longer timeframes
- Multiple Timers: Add several for different events/offers on same page
- Timezone Display: Add text above timer to clarify timezone (e.g., "Launches Dec 25, 2025 at 12:00 PM EST")
Auto-generated from
docs/blocks/COUNTDOWN-TIMER.md. To update, edit the source file and changes will sync on next push to main.
- Accordion
- Blobs
- Breadcrumbs
- Card
- Comparison Table
- Countdown Timer
- Counter Group
- Divider
- Flip Card
- Form Builder
- Grid
- Icon
- Icon Button
- Icon List
- Image Accordion
- Map
- Modal
- Modal Api Reference
- Modal Auto Triggers
- Modal Fse Compatibility
- Modal Gallery Navigation
- Modal Next Phase
- Modal Performance Fixes
- Modal Security Audit
- Modal Security Fixes Summary
- Modal Trigger
- Pill
- Progress Bar
- Reveal
- Row
- Scroll Accordion
- Scroll Gallery
- Section
- Slider
- Table Of Contents
- Tabs
- Timeline
- Animation
- Background Video
- Block Animations
- Clickable Group
- Custom Css
- Expanding Background
- Grid Mobile Order
- Grid Span
- Max Width
- Responsive Visibility
- Reveal Control
- Scroll Parallax
- Sticky Header
- Text Alignment Inheritance
- Text Reveal
- Ai Assisted Development
- Best Practices Summary
- Block Controls Organization
- Block Development Best Practices Comprehensive
- Block Exclusion Guide
- Control Reorganization
- Design System
- Wordpress Block Editor Best Practices
- Color Controls Pattern
- Custom Css Filters
- Performance Css Strategy
- Width Css Strategy Implementation
- Width Layout Patterns
- Antigravity Audit
- Card Block Audit
- Claude Audit
- Comprehensive Audit
- Cursor Audit
- Scroll Accordion Stacking Notes
- Security Review 1.2.1
- 2026 02 11 Icon Search Aliases Design
- 2026 02 14 Overlay Header Design
- 2026 02 15 Deactivation Block Migrator Design