Dynamic Month & Year into Posts
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] (next/previous) Dates: [date] (full date), [dt] (day number), [weekday] (day name) Age: [age date="1990-05-15"] calculates years from any date Season: [season] displays current season (supports hemispheres) Countdowns: [daysuntil date="2025-12-25"] and [dayssince date="2020-01-01"] Post Dates: [datemodified] and [datepublished] shortcodes. Event Dates: [blackfriday] and [cybermonday] shortcodes. Block Editor support: Toolbar to quickly insert the shortcodes, customizable date and countdown blocks. Works in posts, pages, titles, widgets, and SEO meta. Renders in your WordPress language. Perfect for affiliate marketers, bloggers, and anyone who wants evergreen content that updates automatically. But that’s not it. See Full List of Shortcodes New: Display current season with [season] shortcode. Supports hemisphere: [season region="south"] for Southern hemisphere. New: Calculate age with [age date="1990-05-15"] shortcode. Add ordinal suffix with ordinal="true" (e.g., “35th”). New: Post dates with [datemodified] and [datepublished] shortcodes. New: Event dates with [blackfriday] and [cybermonday] shortcodes. Gutenberg Blocks Four dedicated blocks for the Block Editor: Dynamic Date Block – Insert any dynamic date with live preview: Select date type from dropdown (year, month, date, age, season, etc.) Configure age format (years only, years & months, full breakdown) Set ordinal suffix for age display Typography and color controls Spacing options (margin, padding) Live Countdown Block – Real-time countdown powered by WordPress Interactivity API: Count days until or since any date Auto-updates without page reload, even when the page HTML is cached Repeat the countdown annually Customizable label text Correct singular and plural day labels Typography and color styling Perfect for event promotions and milestones Published Date Block – Display the post’s publication date: Uses WordPress date format from Settings Custom format support Typography and color controls Modified Date Block – Display the post’s last modified date: Uses WordPress date format from Settings Custom format support Typography and color controls All blocks are found under “Widgets” category in the Block Inserter. Plus, a toolbar button in the formatting toolbar lets you quickly insert any shortcode into text blocks. Works with popular SEO Plugins Supports RankMath, Yoast and SEOPress plugins and can be used to replace all their date based variables. [year] works as a replacement to %currentyear% , [month] as a replacement to %currentmonth% already. Use various combinations to make your articles even more dynamic and make your content always SEO ready — no matter the date or year. Extremely useful for Affiliate Marketers, Amazon Affiliates and Copywriters. Tested Support With Rank Math Rank Math Pro SEOPress SEOPress Premium Yoast SEO Yoast SEO Premium SureRank Gutenberg and Block Editor Content, Headings and Buttons All popular Block Editor Addons, including Greenshift, GenerateBlocks, Ultimate Blocks, Kadence Blocks, Spectra, Otter Blocks. Elementor Page Builder WP Bakery Page Builder Visual Composer Beaver Builder Brizy Builder Oxygen Builder Bricks Builder Jetpack Related Posts Intelly Related Posts a.k.a. Inline Related Posts (IRP) Advanced Custom Fields (Manual: please see the FAQs) Lightweight Accordion (including Schema) All major themes including Twenty Twenty-Five, Twenty Twenty-Four, Twenty Twenty-Three, Twenty Twenty-Two, Twenty Twenty-One, Twenty Twenty, Astra, Neve, Hello (Elementor), Kadence, GeneratePress, Blocksy, and OceanWP. Tested to be totally working with Yoast SEO, SEOPress and Rank Math’s breadcrumbs, custom meta titles, excerpt etc. Note: Since August 2021, Google has started showing h1 titles in search results, this plugin becomes even more useful as no other SEO plugins adds Current Month, Current Year or Today’s Date in h1 titles except this; keeping the same in SEO meta as well. More features Full Rank Math OpenGraph Support. Full Schema and OpenGraph support in YoastSEO. Multiple Langauge (WPML) Support: Shortcode renders your site’s defined language. Contextual Related Posts Support. Jetpack Related Posts Support. Totally native. Doesn’t write anything to the database. No configuration required. The Live Countdown corrects cached day counts in the browser. Easy to use Just install the plugin (see Installation tab) and activate it. Add [year] to render current year, [nyear] to render next year, [pyear] to render previous year, [month] to render current month (full name) and [mon] to render first three letters of months automatically. See Full List of Shortcodes (You can also see this link in Plugins page in your WordPress dashboard). As the months & years change, these shortcodes get updated into the content and title automatically on the shortcode locations. Zero bloat. Editor assets load only in the editor, and frontend JavaScript loads only for the Live Countdown block. Shortcode rendering makes no plugin database queries. Ordinary shortcodes are server-rendered, so configure your page cache to expire or purge when a cached year, month, date or age should change. Also, Dynamic Month & Year into Posts is a totally free plugin. There are no upsells and will never be. More details Free Support More WordPress Plugins and Web Tools WordPress Deals Request a Feature Privacy Dynamic Month & Year into Posts by Gaurav Tiwari is a completely native shortcode plugin. It has no settings page and does not use any analytics tool to gather or use your data. It’s bloat and ad-free. No notifications. No upgrade notices. Nothing. Fast Support and Feature Implementation I will provide instant support for all your queries or feature requests. Use support forum to ask your questions, request new features or report something broken. I will also update the plugin for every major and minor WordPress version. Compatibility I use the plugin myself on my primary website and other client sites that I run. I try my best to ensure that this plugin is compatible with every functionality plugin you use. Please let me know if this plugin isn’t compatible with your stack, create a support request and allow me some time. Please note that some plugins strip shortcodes or disable rendering of shortcodes. In such cases, it’s impossible to implement dynamic dates without rewriting the whole plugin code and breaking a couple of things. But still, I’ll give a try. Help me with a positive review to keep the development going.
Top keywords
- date23×2.28%
- support14×1.39%
- shortcodes12×1.19%
- year12×1.19%
- block10×0.99%
- month9×0.89%
- seo9×0.89%
- wordpress9×0.89%
- age8×0.79%
- blocks8×0.79%
- posts8×0.79%
- current7×0.69%
LiteSpeed Cache
LiteSpeed Cache for WordPress (LSCWP) is an all-in-one site acceleration plugin, featuring an exclusive server-level cache and a collection of optimization features. LSCWP supports WordPress Multisite and is compatible with most popular plugins, including WooCommerce, bbPress, and Yoast SEO. LiteSpeed Cache for WordPress is compatible with ClassicPress. Requirements General Features may be used by anyone with any web server (LiteSpeed, Apache, NGINX, etc.). LiteSpeed Exclusive Features require one of the following: OpenLiteSpeed, commercial LiteSpeed products, LiteSpeed-powered hosting, or QUIC.cloud CDN. Why? Plugin Features General Features Free QUIC.cloud CDN Cache Object Cache (Memcached/LSMCD/Redis) Support+ Image Optimization (Lossless/Lossy) Minify CSS, JavaScript, and HTML Minify inline & external CSS/JS Combine CSS/JS Automatically generate Critical CSS Lazy-load images/iframes Responsive Image Placeholders Multiple CDN Support+ Load CSS Asynchronously Defer/delay JS loading Browser Cache Support+ Database Cleaner and Optimizer PageSpeed score (including Core Web Vitals) optimization OPcode Cache Support+ HTTP/2 Push for CSS/JS (on web servers that support it) DNS Prefetch Cloudflare API Single Site and Multisite (Network) support Import/Export settings Attractive, easy-to-understand interface AVIF/WebP image format support Heartbeat control + This service is not provided by the LSCache plugin, nor is it guaranteed to be installed by your service provider. However, the plugin is compatible with the service if it is in use on your site. LiteSpeed Exclusive Features Automatic page caching to greatly improve site performance Automatic purge of related pages based on certain events Private cache for logged-in users Caching of WordPress REST API calls Separate caching of desktop and mobile views Ability to schedule purge for specified URLs WooCommerce and bbPress support WordPress CLI commands API system for easy cache integration Exclude from cache by URI, Category, Tag, Cookie, User Agent Smart preload crawler with support for SEO-friendly sitemap Multiple crawlers for cache varies HTTP/2 support HTTP/3 & QUIC support ESI (Edge Side Includes) support* Widgets and Shortcodes as ESI blocks* (requires Classic Widgets plugin for WP 5.8+) * Feature not available in OpenLiteSpeed LSCWP Resources Join our Slack community to connect with other LiteSpeed users. Ask a question on our support forum. View detailed documentation. Read about LSCWP and WordPress on our blog. Help translate LSCWP. Contribute to the LSCWP GitHub repo. Third Party Compatibility The vast majority of plugins and themes are compatible with LSCache. Our API is available for those that are not. Use the API to customize smart purging, customize cache rules, create cache varies, and make WP nonce cacheable, among other things. Privacy This plugin includes some suggested text that you can add to your site’s Privacy Policy via the Guide in the WordPress Privacy settings. For your own information: LiteSpeed Cache for WordPress potentially stores a duplicate copy of every web page on display on your site. The pages are stored locally on the system where LiteSpeed server software is installed and are not transferred to or accessed by LiteSpeed employees in any way, except as necessary in providing routine technical support if you request it. All cache files are temporary, and may easily be purged before their natural expiration, if necessary, via a Purge All command. It is up to individual site administrators to come up with their own cache expiration rules. In addition to caching, our WordPress plugin has online features provided by QUIC.cloud for Image Optimization and Page Optimization services. When one of these optimizations is requested, data is transmitted to a remote QUIC.cloud server, processed, and then transmitted back for use on your site. QUIC.cloud keeps copies of that data for up to 7 days and then permanently deletes it. Similarly, the WordPress plugin has a Reporting feature whereby a site owner can transmit an environment report to LiteSpeed so that we may better provide technical support. None of these features collects any visitor data. Only server and site data are involved. QUIC.cloud CDN, if enabled, uses LSCache technology to access your site, and serve your content from remote global nodes. Your data is not accessed by QUIC.cloud employees in any way, except as necessary in providing maintenance or technical support. Please see the QUIC.cloud Privacy Policy for our complete Privacy/GDPR statement.