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
See it in action
Shortcodes that automatically display the current date, month, or year.
[year][month][monthyear]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"][dayssince date="2025-01-01"][daysuntil date="[blackfriday]"]7 Pre-built Block Patterns New
Ready-to-use patterns for common use cases.
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
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.
Complete shortcode reference
Every shortcode available. Copy and paste into your content.
[year]
Current year
[pyear]
Previous year
[nyear]
Next year
[ppyear]
2 years ago
[nnyear]
2 years ahead
[year n=5]
Custom offset
[month]
Full name
[mon]
Short name
[pmonth]
Previous month
[nmonth]
Next month
[mm]
Number (with zero)
[mn]
Number (no zero)
[date]
Today's date
[dt]
Day of month
[weekday]
Day name
[wd]
Day short
[monthyear]
Combined
[nmonthyear]
Next month & year
[blackfriday]
This year's date
[cybermonday]
This year's date
[daysuntil]
Countdown New
[dayssince]
Count up New
[datemodified]
Post modified
[datepublished]
Post published
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.
Add New Plugin
Go to Plugins → Add New in your WordPress dashboard
Search
Search "Dynamic Month Year" by Gaurav Tiwari
Activate
Click Install, then Activate. No settings needed.
Use Shortcodes
Add [year], [month] anywhere in your content
Works everywhere
Compatible with all major page builders, block plugins, and themes.
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."
"It solves the problem for recurring posts. Gaurav is super fast in responding to support requests too!"
"This is my go-to plugin for date, month, year auto-updation. The developer provides amazing support."
Recent updates
[daysuntil] and [dayssince] countdown shortcodesNew Block Editor toolbar button for quick insertion
New 7 pre-built Block Patterns
[nd] and [pd] for next/previous dates.[nmonthyear] and [pmonthyear] shortcodes.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 pluginNo account required · Installs in 30 seconds · Works immediately