Version: 1.7.1 | Author: Gaurav Tiwari | WordPress: 6.0+ | PHP: 7.4+
Plugin URI: https://gauravtiwari.org/snippet/dynamic-month-year/
Dynamic Month & Year into Posts provides 37 shortcodes and 4 Gutenberg blocks for inserting dynamic, always-current dates into WordPress content, titles, excerpts, and SEO meta fields. Zero configuration, no database queries, no settings page.
Architecture: The plugin has two loading paths:
- Modern (Composer): Namespaced PSR-4 classes in
src/loaded viavendor/autoload.php - Legacy: Procedural PHP in
includes/for backward compatibility
If vendor/autoload.php exists, the modern path loads. Otherwise, the legacy path provides core shortcode functionality.
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate through the Plugins screen
- No configuration needed. Start using shortcodes and blocks immediately.