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 breadcrumbs. Other shortcodes that you can use are [date]
, [nyear]
and [pyear]
. Read on to learn more.
Description
Add today’s date by [date], current year by [year], previous year by [pyear], next year by [nyear] 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, Yoast SEO and SEOPress plugins. [year] works as a replacement to %currentyear% like variables in these plugins, while [month] works as a replacement to %currentmonth% like variables already.
Supports even the breadcrumbs, custom meta titles, excerpt etc.
Supports Rank Math, Rank Math Pro, SEOPress, SEOPress Premium and Yoast SEO, Yoast SEO Premium. Tested to be working with Yoast SEO, SEOPress and 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, [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.
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.
Screenshots
Download the plugin
Changelog
Version | Changes |
---|---|
1.1.1 |
|
1.1.0 |
|
1.0.9 |
|
1.0.8 |
|
1.0.7 |
|
1.0.6 |
|
1.0.5 |
|
1.0.4 |
|
1.0.3 |
|
1.0.2 |
|
1.0.1 |
|
1.0.0 |
|