Free WordPress Plugin

Dynamic Month & Year
into Posts

Auto-updating dates for your WordPress content. Write once, never update again.

[year] 2026 [month] January [date] January 2, 2026
Download free →

See it in action

Shortcodes that automatically display the current date, month, or year.

[year]
2026
Current year
[month]
January
Full month name
[monthyear]
January 2026
Combined format
8,000+
Active installs
5.0
Star rating
16
Reviews
30+
Shortcodes

New in 1.5

Countdown shortcodes & Block Editor integration

Calculate days until or since any date. Plus quick insertion right from your editor toolbar.

[daysuntil date="2025-12-31"]
-2
Days until New Year
[dayssince date="2025-01-01"]
366
Days since Jan 1
[daysuntil date="[blackfriday]"]
-35
Days until Black Friday

7 Pre-built Block Patterns New

Ready-to-use patterns for common use cases.

Copyright Footer
Sale Banner
Countdown Timer
Last Updated Notice
Holiday Promotion
Event Countdown
Year in Review

Stop updating posts every January

If you write "Best Plugins for 2025" or "January Deals," you're manually updating these every year. With this plugin, write [year] once and it updates forever.

Your "Best Plugins for 2026" post stays current automatically.

  • Affiliate roundups and best-of lists
  • Copyright footers
  • Black Friday and holiday pages
  • Comparison articles
  • Time-sensitive content
Get started →

Zero bloat guarantee

  • No CSS or JS files loaded
  • No database queries
  • No settings page to configure
  • No admin notices or upsells
  • Works with all caching plugins

Works with your SEO plugin

Full compatibility with meta titles, descriptions, breadcrumbs, schema, and OpenGraph.

Rank Math
100% Compatible
Meta titles, breadcrumbs, schema, OpenGraph
Yoast SEO
100% Compatible
Meta, schema, JSON-LD, OpenGraph
SEOPress
100% Compatible
Free and Premium versions

Complete shortcode reference

Every shortcode available. Copy and paste into your content.

Year Shortcodes
[year] Current year
2026
[pyear] Previous year
2025
[nyear] Next year
2027
[ppyear] 2 years ago
2024
[nnyear] 2 years ahead
2028
[year n=5] Custom offset
2031
Month Shortcodes
[month] Full name
January
[mon] Short name
Jan
[pmonth] Previous month
December
[nmonth] Next month
February
[mm] Number (with zero)
01
[mn] Number (no zero)
1
Date & Combined
[date] Today's date
January 2, 2026
[dt] Day of month
2
[weekday] Day name
Friday
[wd] Day short
Fri
[monthyear] Combined
January 2026
[nmonthyear] Next month & year
February 2026
Special Shortcodes
[blackfriday] This year's date
November 27
[cybermonday] This year's date
November 30
[daysuntil] Countdown New
Days remaining
[dayssince] Count up New
Days elapsed
[datemodified] Post modified
Post date
[datepublished] Post published
Post date
Capitalize month names: Add c before any month shortcode to capitalize: [cmonth], [cmon], [cnmonth]. Useful for French or Swedish where months are lowercase.

Install in 30 seconds

No configuration needed. Just install, activate, and start using shortcodes.

1

Add New Plugin

Go to Plugins → Add New in your WordPress dashboard

2

Search

Search "Dynamic Month Year" by Gaurav Tiwari

3

Activate

Click Install, then Activate. No settings needed.

4

Use Shortcodes

Add [year], [month] anywhere in your content

Download from WordPress.org

Works everywhere

Compatible with all major page builders, block plugins, and themes.

Gutenberg
Elementor
Bricks
Beaver Builder
GenerateBlocks
Kadence Blocks
Spectra
Greenshift
GeneratePress
Astra
Kadence
Blocksy

Questions and answers

Why would I need this plugin?

If you write content with dates like "Best Plugins for 2026" or "January Deals," you'd normally update these manually every year. With this plugin, write [year] once and it updates forever.

Where's the settings page?

There isn't one. The plugin works immediately after activation with zero configuration. No settings means no bloat, no confusion, and one less thing to manage.

Will it work in my language?

Yes. All outputs follow your WordPress language settings. If your site is in French, [month] outputs "décembre" instead of "December".

Does it affect site performance?

No. The plugin loads zero CSS/JS files and doesn't touch your database. Works perfectly with WP Rocket, FlyingPress, LiteSpeed Cache, and all caching solutions.

How do I use shortcodes in PHP?

Use the standard WordPress function: <?php echo do_shortcode('[year]'); ?>

Can I use these in ACF fields?

Add this to functions.php: add_filter('acf/format_value/type=text', 'do_shortcode');

Loved by WordPress users

16 five-star reviews on WordPress.org

"I've been searching for a plugin like this for ages! Huge thanks to the team who built it – it's absolutely perfect."

— opheliemj

"It solves the problem for recurring posts. Gaurav is super fast in responding to support requests too!"

— Dejan Markovic

"This is my go-to plugin for date, month, year auto-updation. The developer provides amazing support."

— tricknshop1
Read all reviews →

Recent updates

1.5.0
New [daysuntil] and [dayssince] countdown shortcodes
New Block Editor toolbar button for quick insertion
New 7 pre-built Block Patterns
1.4.0
Code refactoring and improvements. Props @meteorlxy
1.3.9
Refactored code. Fixed Rank Math SEO JSON and Excerpts.
1.3.8
New [nd] and [pd] for next/previous dates.
1.3.7
New [nmonthyear] and [pmonthyear] shortcodes.
View full changelog →

For developers

Extend functionality with these filters.

Enable shortcodes in ACF text fields:

add_filter('acf/format_value/type=text', 'do_shortcode');

Enable for a specific ACF field:

add_filter('acf/format_value/name=headline', 'do_shortcode');

Ready to automate your content?

Stop manually updating dates. Install the plugin and never think about it again.

Download free plugin

No account required · Installs in 30 seconds · Works immediately