Dynamic Month & Year into Posts


Add current year by [year] 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?
Just install the plugin (see Installation tab) and activate it. Add [year] to render current year, [nyear] to render next year, [pyear] to render previous year and [month] to render current month automatically. As the months & years change, they get updated into the content and title automatically on the shortcode locations.

Rankmath SEO plugin is (very) recommended but not required.
More details | Support | More WordPress Plugins


  • Backend Editing
  • Front end preview (without Rank Math)
  • With RM Breadcrumb
  • Admin Post list demo


  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.


May 9, 2020
Works fine with Rank Math. Saves a lot of time editing posts manually.
Read all 1 review

Contributors & Developers

“Dynamic Month & Year into Posts” is open source software. The following people have contributed to this plugin.




  • [pyear] yields previous year (e.g., 2019)
  • [nyear] yields next year (e.g., 2021)


  • Fixed Name Conflicts


  • First version