plugin-icon

Current Year Shortcodes

作者:Lukas·
Insert the current year, month and day with a shortcode in any page, post or widget of your WordPress site.
评级
5/5
版本
0.3
活跃安装
1K
最后更新
Jan 3, 2024

Current Year Shortcodes lets you insert the current year, month and day anywhere in your WordPress site with a simple shortcode.

Use the shortcode [Y] in any post, page or widget to display the current year.

How it works

[Y] – inserts the current year with four digits e.g. 2023 [y] – inserts the current year with two digits e.g. 23 [m] – inserts the current month with two digits e.g. 01 [n] – inserts the current month without leading zeros e.g. 1 [F] – inserts the current month as a text e.g. January [M] – inserts the current month with three letters e.g. Jan [d] – inserts the current day with two digits e.g. 06 [j] – inserts the current day without leading zeros e.g. 6 [D] – inserts the current day with three letters e.g. Mon [l] – inserts the current day as a text e.g. Monday

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.4.7
这个插件是可用的下载,适用于您的站点。