Content No Cache | Serve uncached partial content even when you add it to a page that is fully cached.
Normally, if a web page is served by the cache, its content will be always the same until the cache is deleted. By adding the content with the shortcode provided by Content No Cache, you will be able to show dynamic content even on pages served by cache. You don’t need this plugin to exclude the entire page from the cache. This plugin is to exclude a part of the page from the cache. It’s useful if you need to cache a page, but part of that page should not be cached. Imagine you have a page that has this content: Hello this is some text. Another line of text Another line of text Current day: Monday if that page is served by cache, the user will always see: Hello this is some text. Another line of text Another line of text Current day: Monday If you need that the last line of text is always updated, this plugin will help you. The entire page will be served by the cache, but the plugin will get the updated content that you need. How to show dynamic content with full page cache Install Content No Cache Create a new element “Content No Cache” Add to that element all the content that you want to exclude from the cache Copy the shortcode that you will see in the section “Shortcode”. It will look like [content_no_cache id=”3328″]. The parameter “id” is the ID of the content element (in this example 3328). Add the shortcode to the page where you want to display that content. Compatible caching plugins tested with Content No Cache W3 Total Cache WP Fastest Cache WP Optimize Comet Cache Cache Enabler Hyper Cache WP Super Cache LiteSpeed Cache Speed Optmizer WPRocket All of those caching plugins are compatible with Content No Cache. If your favorite caching plugin is not compatible for any reason, let us know it Compatible CDNs Cloudflare BunnyCDN StackPath KeyCDN Fastly CloudFront Main features Ultralightweight plugin. The few lines of code will run only where you add the shortcode. No jQuery, no JS libraries, only a couple of lines of pure JavaScript No database queries, no extra HTTP requests for external assets, no bloat With a few line of ultralight code you can fully cache the page even if you need dynamic content on that page It provides a shortcode, so you can add it everywhere, no matter the builder Tips to speed up the process to get the content Install Freesoul Deactivate Plugins Go to Freesoul Deactivate Plugins => Actions => Content No Cache Disable all the plugins that you don’t need to output the content Example You can see Content No Cache in action visiting the blog post Exclude specific content from being cached. You will see a number that is always different when you refresh the page. But the page is served by full page cache. In the example it’s just a number, but you can output whatever content you want. Possible conflicts Some plugins don’t load the shortcodes during ajax requests. Because Content No Cache retrieves the content through ajax, in those cases the content will not be displayed properly. If you have this kind of issue set the parameter request=”remote”. In this case the shortcode will look like [content_no_cache id=”3328″ request=”remote”] The plugin will retrieve the content in a different way that will be a little slower, but this will solve this kind of conflict. Help If something doesn’t work for you, don’t hesitate to open a thread on the Support Forum Please, before posting enable the debugging in wp-config.php. Need a step-by-step guide? Read this detailed tutorial on how to enable debugging in WordPress to learn more. Backend Speed Optimization Is your dashboard slow? I optimize admin performance by improving queries and plugin load. Read Backend Speed Optimization for more information.
Top keywords
- cache29×4.43%
- content27×4.13%
- page15×2.29%
- content no cache10×1.53%
- shortcode7×1.07%
- text7×1.07%
- line6×0.92%
- line of text5×0.76%
- served5×0.76%
- add4×0.61%
- always4×0.61%
- another4×0.61%
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 at midnight without page reload Customizable label text 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. Cache friendly. 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. No CSS/JS files loaded. No database queries are made and the content is rendered on-the-fly. I am a performance geek and digital marketer myself, so I understand what you need. Please use a WordPress cache plugin to cache the rendered content. 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.