Image
Image

Live Clock Widget

설명

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]'); ?>

설치

  1. Upload the wordpress-clock folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the shortcode [wpclock] in any post or page
  4. 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?

  1. Go to Appearance > Widgets
  2. Find “WordPress Clock” widget
  3. Drag it to your desired sidebar
  4. Configure the title, type, and size
  5. 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.

후기

모든 1 평가 읽기

기여자 & 개발자

“Live Clock Widget”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Live Clock Widget”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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