Description
Live Clock Widget provides a beautiful, modern clock display for your website. Choose between analog and digital styles, customize the size, and display it anywhere using a shortcode or widget.
Key Features:
- π Analog Clock – Beautiful circular clock with smooth animations
- π’ Digital Clock – Modern digital display with date
- π± Fully Responsive – Works perfectly on all devices
- π¨ Modern Design – Gradient backgrounds and smooth animations
- β‘ No Flash – Pure JavaScript and CSS (Flash removed in v2.0)
- π Secure – All output properly escaped and sanitized
- π Translation Ready – Full i18n support
- βοΈ Easy Customization – Adjustable size and type
Usage:
- Shortcode:
[wpclock]– Default analog clock - Shortcode Options:
[wpclock type="digital" size="300"] - Widget: Drag and drop from Appearance > Widgets
- PHP Function:
<?php echo do_shortcode('[wpclock]'); ?>
Installation
- Upload the
wordpress-clockfolder to/wp-content/plugins/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the shortcode
[wpclock]in any post or page - Or add the widget from Appearance > Widgets
FAQ
-
What is the shortcode?
-
Use
[wpclock]for a default analog clock, or customize it:
*[wpclock type="analog" size="200"]– Analog clock, 200px
*[wpclock type="digital" size="300"]– Digital clock, 300px -
How do I add it as a widget?
-
- Go to Appearance > Widgets
- Find “WordPress Clock” widget
- Drag it to your desired sidebar
- Configure the title, type, and size
- Save
-
Can I customize the colors?
-
Yes! Add custom CSS to your theme:
`css.wpclock-face {
background: linear-gradient(135deg, #your-color1, #your-color2);
}
` -
Does it work without Flash?
-
Yes! Version 2.0 completely removed Flash and uses modern JavaScript and CSS3.
-
Is it mobile responsive?
-
Absolutely! The clock automatically adjusts to different screen sizes.
Contributors & Developers
“Live Clock Widget” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Live Clock Widget” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.3
- CRITICAL: Fixed text domain to match plugin slug (wordpress-clock)
- Removed Domain Path header (not needed for WordPress.org plugins)
- Removed screenshot-1.png (should be in assets, not plugin)
- All internationalization now uses correct text domain
2.2
- Updated Plugin URI to GitHub repository
- All links now point to https://github.com/MervinPraison/wordpress-clock
- Removed references to mervin.info domain
2.1
- CRITICAL: Fixed trademark violation – renamed from “WordPress Clock” to “Live Clock Widget”
- Updated all text domains to ‘live-clock-widget’
- Updated plugin URI and author URI
2.0
- MAJOR UPDATE: Complete rewrite from scratch
- Security: Removed Flash dependency (security risk)
- Security: Added proper input sanitization and output escaping
- Security: Updated to modern WordPress widget API
- Improved: Pure JavaScript and CSS3 implementation
- Improved: Responsive design for all devices
- Improved: Smooth animations for analog clock
- Improved: Digital clock with date display
- Improved: Modern gradient design
- Improved: Widget with customization options
- Improved: Shortcode with type and size parameters
- Improved: Translation ready with text domain
- Improved: WordPress 6.8 compatibility
- Fixed: Plugin name typo (Worpress WordPress)
- Fixed: Deprecated widget registration method
- Fixed: Hardcoded HTTP URLs
- Fixed: External CDN dependency removed
1.1
- Minor fixes
1.0
- Initial release with Flash clock
