Old Post Notice – Display a notice on old posts
Warn readers about outdated content by showing a customizable notice on old WordPress posts after a set number of days.
Install in
Help visitors spot stale blog posts and archive content before they rely on it. Old Post Notice automatically shows a customizable outdated-content notice on posts older than a threshold you choose – based on the published or last modified date.
Ideal for blogs, tutorials, news sites, and long-running archives where older articles can mislead readers.
The plugin is intentionally lightweight: after install the notice is on by default – fine-tune it under Settings > Old Post Notice and it appears on qualifying posts, without extra admin dashboards or per-post complexity.
Features
- Enable or disable the outdated content notice.
- Choose which post types show the notice (posts by default; pages and custom post types supported).
- Customize the notice text and styling.
- Insert the date and singular post type label into the notice with
[date]and[post_type]. - Set how many days old a post must be for the notice to appear.
- Display the notice based on published or last modified dates.
- Position the notice above or below post content.
- Use default styling or custom CSS for full control.
- Set background and text colors for the notice.
- Keep archived posts clearer with a simple content freshness disclaimer.
Benefits
-
Inform Readers About Outdated Content
Alert visitors when a post is older than a set number of days, helping maintain trust and improve user experience on blogs and websites. -
Highlight Time-Sensitive Information
Perfect for news blogs, tutorials, or guides where information can become outdated. The notice can include the post’s published or modified date as a clear last-updated style disclaimer. -
Support Archive Content Management
Make older archive posts easier to understand at a glance by clearly marking content that may no longer be current. -
Improve Blog Engagement
Encourage readers to explore newer posts by clearly marking older content, increasing page views and engagement on your site. -
Customize Notices for Branding
Use default styling or custom CSS to match your blog’s design, so the content notice fits seamlessly with your site’s look and feel.
Example Use Case: Jane’s Travel Blog
Jane runs a popular WordPress travel blog with hundreds of posts spanning several years. She wants to alert readers to outdated content so visitors aren’t misled by old information, like hotel prices or travel tips that have changed.
By installing the Old Post Notice plugin, Jane can:
- Automatically display a customizable notice on old blog posts after a set number of days.
- Include the published or modified date in the notice for context.
- Style the notice with default colors or use custom CSS to match her blog design.
This setup improves user experience, boosts blog engagement, and ensures that visitors are aware of outdated content, all while maintaining a polished, professional look on her WordPress site.
Usage
After installation, the notice is enabled by default. Adjust it anytime under Settings > Old Post Notice – it appears on old posts according to your configured settings.
Written by Joobi from the project's own listing. See the source page
2.3.0 – 2026-11-29
- Add: Post types setting to enable the notice on posts, pages, and other public custom post types (posts remain the default)
- Add:
[post_type]placeholder to insert the singular post type label in the notice text - Update: Enable the notice by default on new installs
- Update: Align build tooling with current boilerplate (webpack asset pipeline, vendor-prefixed, PHPUnit)
- Update: Flatten compiled assets under /assets
- Update: Streamline settings around a lightweight feature set
- Remove: Dashboard page, dashboard widget, and per-post notice metabox. These added admin surface most sites never needed; the plugin now focuses on showing a single sitewide notice on old posts. Existing per-post custom notices no longer display. If you still need the old admin features, please open a support request on WordPress.org and I can provide a snippet to help restore them.
2.2.2 – 2026-01-16
- Update: Improve enqueue of settings page color picker library so works on WordPress playground environment
- Update: When old post notice disabled, dashboard page/widget info that “these pages display a notice” is hidden
- Update: Meta box naming changes
- Fix: Add missing space to “These posts display an old post notice because their modified date…” string
2.2.1 – 2026-01-13
- Fix: Save settings can cause an error on PHP 7.4
2.2.0 – 2026-01-12
- Add: Scaffolding for scoped dependencies
- Update: Composer script updates
- Update: Settings option name retrieval improvements
- Fix: load_plugin_textdomain code no longer needed
2.1.0 – 2025-10-20
- Add: Old post notice meta box to old posts
- Add: Replace or append to default notice functionality when editing old posts
- Add: old_post_notice_before_append filter hook
- Update: Allow HTML in notice
- Update: Inherit notice text color on links added in notices
- Fix: Add catches for get_the_modified_date() and get_the_date() returning false in certain circumstances
2.0.0 – 2025-10-16
- Update: Assets now minified
- Update: Better AJAX responses for error handling
- Update: Complete code refactor
1.3.2 – 2024-11-10
- Update: Contribute information
1.3.1 – 2024-11-04
- Remove: Sponsor information
1.3.0 – 2024-10-16
- Add: Dashboard widget posts setting
- Update: Color variables naming consistency to match option names
- Update: register_setting sanitize callback
1.2.1 – 2024-10-09
- Add: Days setting max attribute
- Update: Dashboard page configure settings button renamed
- Update: Dashboard widget title changed
- Update: Information in readme.txt
- Update: Nag text
1.2.0 – 2024-10-07
- Add: Dashboard page under the posts menu that displays all posts that are displaying the old post notice, disabled by default
- Update: Dashboard widget now loads a limited amount of data and includes a link to view all via the dashboard page
- Update: Dashboard widget now loads data via AJAX
- Update: Dashboard widget visibility only to users with edit_posts capability
1.1.0 – 2024-10-04
- Add: Dashboard widget displaying a selection of posts that are displaying the old post notice, disabled by default
- Update: Public CSS for old post notice is now only enqueued if the old post notice setting is enabled and the styling setting is not none
1.0.1 – 2024-10-02
- Add: Donate link in readme.txt
- Update: Conditions in uninstall.php
- Update: FAQs in readme.txt
1.0.0 – 2024-10-01
- New: Plugin released
Follow this listing's changes (Atom feed)