描述
This plugin adds a digital clock to a WordPress page or post using the shortcode [my_digital_clock]
. The clock is customizable with shortcode attributes for the text color, background color, border color, and font size.
To learn more about this plugin and its features, please visit our plugin page.
Shortcode Attributes
The following attributes are available for the [my_digital_clock]
shortcode:
textcolor
– The text color of the clock (default: #ffffff)backcolor
– The background color of the clock (default: #000000)bordercolor
– The border color of the clock (default: #ffffff)fontsize
– The font size of the clock (default: 40px)
Example: [my_digital_clock textcolor="#ff0000" backcolor="#0000ff" bordercolor="#00ff00" fontsize="50px"]
安裝
- Upload the plugin files to the
/wp-content/plugins/my-digital-clock
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Add the
[my_digital_clock]
shortcode to a page or post to display the clock.
常見問題
-
Can I add multiple clocks to a page or post?
-
Yes, you can add multiple clocks to a page or post by using multiple shortcodes with different attributes.
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
1.0
- Initial release.