Automate your SEO.
Take your blog to the next level.

Dynamic Month & Year into Posts

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 [mon], [date], [nyear] and [pyear].

Description

Automate your SEO

Add today’s date by [date], current year by [year], previous year by [pyear], next year by [nyear], current month (like January) by [month] and current month shortname (like Jan) by [mon] shortcodes anywhere, including content and title. Use this plugin to boost your site’s SEO by using the variables anywhere.

Works with popular SEO Plugins

  • Supports RankMath, Yoast and SEOPress plugins and can be used to replace all their date based variables.
  • [year] works as a replacement to %currentyear% , [month] as a replacement to %currentmonth% already.
  • Use various combinations to make your articles even more dynamic and make your content always SEO ready — no matter the date or year.

Supports

  • Rank Math
  • Rank Math Pro
  • SEOPress
  • SEOPress Premium
  • Yoast SEO
  • Yoast SEO Premium

Tested to be working with Yoast SEO, SEOPress and Rank Math’s breadcrumbs, custom meta titles, excerpt etc.

More features

  • Full Rank Math OpenGraph Support.
  • Schema and OpenGraph support in YoastSEO.
  • Multiple Langauge (WPML) Support: Shortcode renders your site’s defined language.
  • Contextual Related Posts Support
  • Totally native. No configuration required.

Easy to use

Just install the plugin (see Installation) and activate it. Add [year] to render current year, [nyear] to render next year, [pyear] to render previous year, [month] to render current month (full name) and [mon] to render first three letters of months automatically. As the months & years change, these shortcodes get updated into the content and title automatically on the shortcode locations.

Zero bloat. No CSS/JS files loaded.

More details | 24X7 Support | More WordPress Plugins | Request a Feature

Privacy

Dynamic Month & Year into Posts is a completely native shortcode plugin. It has no settings page and does not use any analytics tool to gather or use your data. It’s bloat and ad-free.

Fast Support and Feature Implementation

I will provide instant support for all your queries or feature requests. Use support forum to ask your questions, request new features or report something broken.

I will try my best to ensure that this plugin is compatible with every functionality plugin you use.

How to use it?

Just install the plugin (see Installation tab) and activate it. Add 2021 to render current year, 2022 to render next year, 2020 to render previous year and June 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

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

Screenshots

Download the plugin

Changelog

VersionChanges
1.1.5New: Jun shortcode to render only the first three letters of Month, like Jan, Feb, Mar, Apr etc.
1.1.4Tested with WordPress 5.8
1.1.3Bug Fixes {not really: I made a coding mistake}
1.1.2Updated Readme.txt and Instructions
1.1.1
  • Bug fixes
1.1.0
  • New: Rank Math OpenGraph Support
  • Bug fixes
1.0.9
  • Improved: Schema and OpenGraph support in YoastSEO.
  • Work in Progress: Full Schema and OpenGraph support in Rank Math
  • Removed: Rank Math recommendation.
1.0.8
  • New: Contextual Related Posts Support
1.0.7
  • New: SEOPress Support
1.0.6
  • New: Yoast SEO Support
1.0.5
  • Multiple Language Support: Shortcode renders your site’s defined language.
  • New: June 12, 2021 shortcode for today’s date.
  • WordPress 5.6 Compatibility
1.0.4
  • Optimization
1.0.3
  • Updated Readme.txt file
1.0.2
  • 2020 yields previous year (e.g., 2020)
  • 2022 yields next year (e.g., 2022)
1.0.1
  • Fixed Name Conflicts
1.0.0
  • First version

FAQs

Why would I need this?

If you are an affiliate marketer or blogger who uses month, years and dates in your posts. If you use these dynamic month, year, date, next year, previous year shortcodes you won’t have to update those posts again and again as the time passes.

How can I access settings?

You can not. There is no options panel because there is no need to have one.

Can I use it in Block Editor or Classic Editor?

Yes. You can use the shortcodes in both Block Editor and Classic Editor like running text. You can also the shortcodes in widget areas including footer (use-case: Autoupdating Copyright Year) and headers (use-case: Today’s Date).

Will this plugin work in my language?

Yes. The shortcode outputs are WPML ready. Since there is no settings page, you don’t have to translate this plugin.

How can I use these shortcodes in my theme/PHP code?

You can use <php echo do_shortcode('[year]');?>, <?php echo do_shortcode('[month]');?> etc. in themes or in functionality plugins to use these shortcodes.

Share or save: