Dynamic Month & Year into Posts source code
By Gaurav Tiwari, on WordPress.org since 2020. 8,000+ active installs.
Automate your SEO Insert dynamic dates anywhere in your WordPress content using simple shortcodes: Years: [year] (current), [nyear] (next), [pyear] (previous) Months: [month] (January), [mon] (Jan), [nmonth]/[pmonth]... Below is its source code for every one of its 52 releases, what changed in the latest one, and how often it ships.
What changed in 1.8.1
Released Aug 27, 2026, 1 month after 1.8.0- Fixed: Recurring February 29 countdowns now produce the same valid leap-day result in PHP and the browser.
- Fixed: Invalid countdown dates no longer display as zero days, and the default day label is plural-aware.
- Fixed: WP-CLI accepts both complete plugin shortcodes and date types with named options.
- Improved: Added WordPress 7.1 compatibility, content-role block metadata, current dependency security fixes and wider runtime checks.
- Improved: Corrected countdown, editor, cache, pattern and WP-CLI documentation.
21 files changed since 1.8.0: 21 modified, 0 added, 0 removed.
- README.md modified, +352 bytes
- build/blocks/countdown/block.json modified, +125 bytes
- build/blocks/countdown/index.asset.php modified, same size
- build/blocks/countdown/index.js modified, +85 bytes
- build/blocks/countdown/render.php modified, +406 bytes
- build/blocks/countdown/view.asset.php modified, same size
- build/blocks/countdown/view.js modified, +249 bytes
- build/blocks/dynamic-date/block.json modified, +175 bytes
- build/blocks/dynamic-date/index.asset.php modified, same size
- build/blocks/dynamic-date/index.js modified, +119 bytes
And 11 more.
Compare 1.8.0 with 1.8.1Release history
52 releases since February 2020- 1.8.1 Aug 27, 2026 Fixed: Recurring February 29 countdowns now produce the same valid leap-day result in PHP and the browser.
- 1.8.0 Jul 21, 2026 Added: Recurring, cache-aware Live Countdown block with leap-day handling and Block Bindings presets.
- 1.7.4 Jun 2, 2026 Changed: Tested up to WordPress 7.0.
- 1.7.3 Mar 3, 2026 Fix: [season] shortcode not working in legacy (non-Composer) installations.
- 1.7.2 Feb 24, 2026 New: Bricks Builder integration — shortcodes now render inside Bricks dynamic data elements.