Add Dynamic Month and Year to Post Content, Title and Meta using Shortcode

Add the current year by [year] and current month by [month] shortcodes anywhere, including content, title, meta title, excerpt and Rank Math Breadcrumbs.


Add current year by [year], next year by using nyear in such brackets, previous year by using pyear in such brackets, and current month by [month] shortcodes anywhere, including content and title. Use this plugin to boost your site’s SEO by using the variables anywhere. Supports RankMath and [year] works as a replacement to %currentyear%, [month] as a replacement to %currentmonth% already.

Supports even the Rank Math’s breadcrumbs, custom meta titles, excerpt etc.

How to use it?

Just install the plugin (see Installation tab) and activate it. Add [year] to render current year and [month] to render current month automatically. As the months & years change, they get updated into the content and title automatically.

Rankmath SEO plugin is (very) recommended but not required.


  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. There is no additional configuration required.


Download the plugin

Share with friends →