Dynamic Month & Year into Posts source code

By Gaurav Tiwari, on WordPress.org since 2020. 8,000+ active installs.

Browse code Download zip

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.

And 11 more.

Compare 1.8.0 with 1.8.1

Release history

52 releases since February 2020
  1. 1.8.1 Aug 27, 2026 Fixed: Recurring February 29 countdowns now produce the same valid leap-day result in PHP and the browser.
  2. 1.8.0 Jul 21, 2026 Added: Recurring, cache-aware Live Countdown block with leap-day handling and Block Bindings presets.
  3. 1.7.4 Jun 2, 2026 Changed: Tested up to WordPress 7.0.
  4. 1.7.3 Mar 3, 2026 Fix: [season] shortcode not working in legacy (non-Composer) installations.
  5. 1.7.2 Feb 24, 2026 New: Bricks Builder integration — shortcodes now render inside Bricks dynamic data elements.
Full Dynamic Month & Year into Posts changelog with diffs

Source of 1.8.1

70 files
Browse all Dynamic Month & Year into Posts 1.8.1 files Browse trunk