plugin-icon

Current Year Shortcode (for Post Titles)

作者:wcdev·
Display the current year in post and page titles. Make sure you check the "Enable Shortcode in titles" option in the plugin settings page to …
版本
1.1
活跃安装
10
最后更新
Mar 19, 2024
Current Year Shortcode (for Post Titles)

The shortcode [wcyear] will display the current year. You can place this shortcode anywhere in your WordPress site.

IMPORTANT: If you want to place this shortcode in post and page titles, go the plugin settings to check “Enable Shortcode in titles”.

If you use Yoast SEO, you can enable the relevant setting for the shortcode to work with Yoast SEO plugin. For other SEO plugins, you should use their inbuilt dynamic tags to diplay the current year.

NOTE: It’s best to use the dynamic tags that come with SEO plugins for displaying current year in meta titles.

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