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.
Description
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.
Installation
- Upload the plugin folder to the
/wp-content/plugins/
directory, or install the plugin directly through the WordPress plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress
- There is no additional configuration required.