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 22, 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
35+
Shortcodes

New in 1.6

Age calculator & enhanced Block Editor

Calculate age from any birth date. Perfect for bios, about pages, and experience sections.

[age date="1990-05-15"]
35
Age in years
[age date="1990-05-15" format="ym"]
35 years, 8 months
Years & months
[age date="1990-05-15" format="ymd"]
35 years, 8 months, 7 days
Full breakdown

13 Pre-built Block Patterns

Ready-to-use patterns for common use cases.

Copyright Footer
Sale Banner
Countdown Timer
Last Updated Notice
Holiday Promotion
Event Countdown
Age Display Card
Birthday Countdown
Experience Badge
New Year Countdown
Days Since Milestone
Promo Banner

New in 1.5

Countdown shortcodes & Block Editor toolbar

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

[daysuntil date="2026-12-31"]
343
Days until New Year
[dayssince date="2026-01-01"]
21
Days since Jan 1
[daysuntil date="2026-11-27"]
309
Days until Black Friday

New in 1.4

Post dates & holiday shortcodes

Display post publication and modification dates. Auto-calculated Black Friday and Cyber Monday.

[datepublished]
February 15, 2020
Post published date
[blackfriday]
November 27
This year's Black Friday
[cybermonday]
November 30
This year's Cyber Monday

Stop updating posts every January

If you write "Best Plugins for 2026" 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 22, 2026
[dt] Day of month
22
[weekday] Day name
Thursday
[wd] Day short
Thu
[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
Days remaining
[dayssince] Count up
Days elapsed
[age] Age calculator New
Years from date
[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.6.0
New [age] shortcode with multiple formats (years, years+months, full)
New 6 additional Block Patterns for age display and countdowns
New Dynamic Date block with age calculation support
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.
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