=== StatusDot === Contributors: designplug, freemius Donate link: https://www.paypal.com/paypalme/DesignPlugNL Tags: opening-hours, business-hours, open-closed, countdown, status-indicator Requires at least: 5.8 Tested up to: 6.9 Stable tag: 2.1.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Real-time opening hours with a clean status dot, optional text, and countdown timers. == Description == StatusDot helps you show whether you're **Open**, **Busy**, **Closed**, or temporarily **Idle** — using a simple dot indicator that updates automatically. Configure a weekly schedule (supports **HH:MM**), optionally enable **Busy mode**, or override everything with **Force Closed** or **Open 24/7**. You can also start an **Idle override** ("Back in...") timer when you're away. StatusDot can show status text + a live countdown, for example: **Open now — Closes in 04:52:14** Updates are handled via lightweight AJAX polling, so visitors see changes without a full page refresh. Place it anywhere using the shortcode. Multiple instances per page are supported. == Features == * Weekly opening hours (HH:MM, including minutes) * Status modes: * Use Opening Hours (Weekly Schedule) * Force Closed * Open 24/7 * Manual Busy mode (orange status) * Idle override ("Back in...") with start/stop and countdown * Display options: * Toggle status text (Open/Busy/Closed) * Toggle countdown label + time per state (Closes in / Opens in / Back in) * Separator selection (-, —, |, •) * Live countdown to the next opening/closing moment * AJAX-based live updates (configurable refresh interval) * Unlimited shortcodes per page * Works with major page builders (Gutenberg, Elementor, etc.) * Lightweight and dependency-free == Shortcode == Basic usage: [statusdot] Optional attributes: [statusdot id="header" refresh="30"] * `id` – Optional unique identifier (useful for targeting with custom CSS). Default: header * `refresh` – Refresh interval in seconds (default: 30) == Installation == 1. Upload the `statusdot` folder to `/wp-content/plugins/` 2. Activate the plugin via **Plugins → Installed Plugins** 3. Go to **Settings → StatusDot** 4. Configure your opening hours and display options 5. Add the shortcode anywhere on your site == Frequently Asked Questions == = Can I use the shortcode multiple times on one page? = Yes. You can use the shortcode unlimited times. Each instance updates independently. = Can I override the schedule? = Yes. Use **Force Closed**, **Open 24/7**, **Busy mode**, or the **Idle override** timer. = Does it work with page builders? = Yes. StatusDot works with Gutenberg, Elementor, and other builders. = Does it affect performance? = StatusDot is lightweight and only makes a small AJAX request at the interval you set. = Are additional features available? = An optional extended version of the plugin includes advanced scheduling and customization features. == Screenshots == 1. Frontend open / busy / closed status with countdown 2. Settings page (schedule + display options) == Changelog == = 2.1.0 = * New: Display options (status text + countdown label/time toggles) * New: Separator selection (-, —, |, •) * New: Idle override (Back in...) with start/stop * Improved: Weekly schedule supports HH:MM (minutes) * Improved: Instant refresh after saving settings * UI polish and WordPress.org compliance fixes = 2.0.1 = * Add basic status text and countdown to the free version * Improve shortcode copy/paste formatting * Minor readme improvements = 2.0.0 = * Licensing integration (optional upgrade) * Code quality improvements * WordPress.org compatibility fixes * Performance improvements = 1.0.0 = * Initial release == Upgrade Notice == = 2.1.0 = Adds Display Options, Separator selection, and an Idle override — plus HH:MM schedule support and instant refresh after saving settings. = 2.0.1 = Adds basic status text and countdown display to the free version.