A lightweight plugin that provides shortcodes for the current, Year, Month, Day, Time and more.
[lwcd display=”F jS”] would output January 24th
[lwcd display=”h:i:s A”] would output 05:56:48 AM
[lwcd display=”\T\o\d\a\y \i\s \t\h\e z \d\a\y \o\f o.”] would output Today is the 23 day of 2021.
Today is the [lwcd display=”z”] day of [lwcd display=”o”]. would output Today is the 23 day of 2021.
- Upload the plugin files to the ‘/wp-content/plugins/’ directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Add shortcode, include display formats.
“Current Date Free” 是开源软件。 以下人员对此插件做出了贡献。贡献者
2.0 – Major update to shortcode structure, can now return any php date(). Notice of legacy shotcode being removed with next update.
1.2 – Fix admin page display errors
1.1 – Updated function name for publication compliance
1.0 – Initial release