=== AddonLogic Event Countdown Widget ===
Contributors: snehalpancholi
Tags: countdown, timer, event, widget, shortcode
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display a live countdown timer to any event using a widget or shortcode with days, hours, minutes, and seconds.

== Description ==

AddonLogic Event Countdown Widget lets you add an animated live countdown to any date/time. Use the classic widget in sidebars or the [event_countdown] shortcode anywhere in your content. Three built-in styles (Default, Dark, Minimal) plus configurable expired text.

Features:
* [event_countdown] shortcode with date, label, expired_text, style, show_seconds attributes
* Classic WordPress sidebar widget
* Three visual styles: Default (blue), Dark, Minimal
* Optional seconds display
* Custom expired message when the event has passed
* Pure JavaScript, no jQuery
* Loads CSS/JS only where needed

== Installation ==

1. Upload `event-countdown-widget` to `/wp-content/plugins/`.
2. Activate the plugin.
3. Use `[event_countdown date="2025-12-31 20:00:00" label="New Year's Eve"]` in any post/page.
4. Or add the widget from Appearance > Widgets.

== Shortcode ==

[event_countdown date="2025-12-31 20:00:00"]
[event_countdown date="2025-12-31 20:00:00" label="Countdown to Launch" style="dark"]
[event_countdown date="2025-06-01" expired_text="Registration closed." show_seconds="no"]

== Changelog ==

= 1.0.0 =
* Initial release.
