=== Old Post Notice === Contributors: medavidallsop Donate link: https://github.com/sponsors/medavidallsop Tags: old post notice, outdated content alert, archive post management, post date notice, old post plugin Stable tag: 2.2.2 Requires PHP: 7.4 Requires at least: 5.5 Tested up to: 6.9 License: GNU General Public License v3.0 License URI: https://www.gnu.org/licenses/gpl-3.0.html Automatically display a customizable notice on posts older than a set number of days. == Description == **Automatically display a customizable notice on posts older than a set number of days.** Keep your readers informed about outdated content with the Old Post Notice WordPress plugin. Perfect for blogs and websites with extensive archives, it automatically displays a customizable notice on posts older than a set number of days. Ideal for managing archived posts, alerting visitors, and improving content engagement. == ✨ Benefits == 1. **Inform Readers About Outdated Content** Use the Old Post Notice plugin to alert visitors when a post is older than a set number of days, helping maintain trust and improve user experience on blogs and websites. 2. **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 to provide context. 3. **Manage Archived Posts** Access a comprehensive dashboard page that lists all posts displaying the old post notice, giving you complete visibility and control over your archive content management. 4. **Improve Blog Engagement** Encourage readers to explore newer posts by clearly marking older content, increasing page views and engagement on your site. 5. **Customize Notices for Branding** Use default styling or custom CSS to match your blog's design, ensuring the old post 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 old post notice on posts older than 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. - View and manage all posts with notices via the dashboard page and widget, making archive post management easy. 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. == ⚡ Features == - Enable or disable the old post notice. - Customize the notice text and styling. - Insert the post's published or modified date into the notice. - Set how many days old a post must be for the notice to appear. - Display notice based on published or 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. - Add a dashboard page listing all posts with notices. - Add a dashboard widget showing selected posts with notices. - Replace or append to the default notice on individual posts. - Perfect for managing archived posts and keeping content up-to-date. == 📚 Usage == After installation, access the settings under **Settings > Old Post Notice**. Once enabled, the notice will appear on old posts according to your configured settings. == 🧑‍💻 Developer == Created by [David Allsop](https://davidallsop.com). Additional details are available on the [project page](https://davidallsop.com/work/old-post-notice/). == Frequently Asked Questions == = Can I replace or append to the default notice? = Yes. When editing old posts, you can set a notice and choose whether to replace the default notice or append to it. This is a meta box, so it is compatible with both the Block and Classic editors. On the block editor, the meta box is at the bottom of the page. = Can I see a list of posts displaying the old post notice? = Yes. You can view posts with the notice by enabling the dashboard page and/or the dashboard widget. = Can I set the colors? = Yes. Set the styling option to Default, then choose your preferred background and text colors using the color settings. = Can I use my own custom CSS? = Yes. Set the styling option to None, then target the `old-post-notice` class in your CSS to apply custom styles. = Can I use HTML in the notice? = Yes. You can use HTML tags in the notice text, including line breaks, formatting tags like `` and ``, and other common HTML elements. The HTML is automatically sanitized for security, so safe tags like `

`, `
`, ``, and `` are allowed, while potentially dangerous tags like `