Current Year Shortcode (for Post Titles)

plugin banner

Display the current year in post and page titles. Make sure you check the "Enable…

Author:WCDev (profile at wordpress.org)
WordPress version required:5.5
WordPress version tested:6.4.4
Plugin version:1.1
Added to WordPress repository:17-06-2022
Last updated:19-03-2024
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:504
Active installs:30+
plugin download
Click to start download

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.


FAQ
ChangeLog