=== Global Time Ghost – Local Time Converter === Contributors: aacers Donate link: https://pluginjoy.com Tags: timezone, local time, utc, gutenberg block, events, Requires at least: 5.8 Tested up to: 6.8 Stable tag: 2.2.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Show any UTC time in the visitor’s real local timezone — automatically. Gutenberg block + shortcode. Zero config. Works with every cache & CDN. == Description == The lightest, fastest, and most beautiful local-time plugin for WordPress. Just drop one shortcode and every visitor instantly sees times in **their own timezone** (including automatic daylight saving handling): `[gtg_time date="2025-12-25 15:00:00"]` → December 25, 2025 at 3:00 PM (their local time) `[gtg_time date="2025-08-20 14:00:00" format="g:i A (T)"]` → 4:00 PM (CEST) Perfect for: - Flash sales & limited offers - Webinars & live streams - Course launches - Event sites - Global WooCommerce stores **Free features (everything you need to get started):** - `[gtg_time]` and `[local_time]` shortcodes - Full Gutenberg block ("Local Time") - Gorgeous purple badge with hover effect - Automatic timezone detection via browser (Intl API + cookie) - Works perfectly with WP Rocket, LiteSpeed, Cloudflare, SiteGround, Kinsta — all caches & CDNs - No settings page needed — works out of the box - No JavaScript loaded on pages without the shortcode **Pro version – Lifetime license $39 (one-time)** - Auto-convert times inside **The Events Calendar**, **WooCommerce**, **LearnDash**, etc. - Live countdown timer shortcode - Live clock shortcode `[current_local_time]` - Convert times in email newsletters (MailPoet, FluentCRM, etc.) - Full badge customizer (colors, radius, icons, borders) - Priority support + all future features Get Global Time Ghost Pro → == Installation == 1. Upload the plugin or install it directly from the WordPress plugin directory. 2. Activate the plugin. 3. Use the shortcode anywhere: `[gtg_time date="2025-12-31 23:59:59"]` `[gtg_time date="2025-07-15 10:00:00" format="F j, Y @ g:i A"]` Done! No configuration required. == Frequently Asked Questions == = How does timezone detection work? = Uses the modern `Intl.DateTimeFormat()` browser API (100% accurate), stores the timezone in a cookie for 180 days, falls back to UTC if JavaScript is disabled. = Does it work with page caching (WP Rocket, LiteSpeed, Cloudflare)? = Yes — 100%. JavaScript only loads when a shortcode is present, and the cookie ensures correct time even on cached pages. = Does it work with WooCommerce? = Yes. The badge appears automatically on product pages and works perfectly with variable products. = Can I disable the badge? = Yes — just add `badge="no"`: `[gtg_time date="2025-12-25 15:00:00" badge="no"]` = Is there a Gutenberg block? = Yes! Search for “Local Time” when adding a block. == Screenshots == 1. Beautiful badge on the frontend (free version) 2. Live shortcode previews inside the plugin dashboard 3. Gutenberg block in the editor 4. Free vs Pro comparison table 5. Example countdown in Pro version (coming soon) == Changelog == = 2.2.0 – December 2025 = - Brand new purple design (#6952f4) - Live badge preview in admin dashboard - Gutenberg block improvements - Faster timezone detection - Full compatibility with WordPress 6.8 = 2.0.0 – November 2025 = - Complete rewrite: lighter, faster, Gutenberg-first - Conditional JavaScript loading (perfect PageSpeed scores) - Beautiful default badge styling = 1.0.0 – 2024 = - Initial release == Upgrade Notice == = 2.2.0 = Major design update + live badge preview in admin. All existing shortcodes continue to work perfectly.