Linux 软件免费装
Banner图

Old Post Notice - Display a notice on old posts

开发者 medavidallsop
更新时间 2026年12月2日 00:54
捐献地址: 去捐款
PHP版本: 5.5 及以上
WordPress版本: 7.1
版权: GNU General Public License v3.0
版权网址: 版权信息

标签

old posts archive posts post date outdated content content notice

下载

1.2.1 2.0.0 2.3.0 1.0.1 1.2.0 1.3.0 1.1.0 1.3.1 1.3.2 1.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.3.1

详情介绍:

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.

安装:

Installation Please see this documentation. Updates Please see this documentation.

常见问题:

How do I show a notice on old WordPress posts?

Install and activate the plugin. The notice is on by default for posts; open Settings > Old Post Notice to change the message, days threshold, post types, or other options.

Can I warn readers that content may be outdated?

Yes. That is the main purpose of the plugin. Write your own message (for example, that the information may be outdated) and optionally insert the date with [date] or the singular post type label with [post_type] (for example, post or page).

Can I show the notice on pages or custom post types?

Yes. In settings, choose the post types that should display the notice. Posts are selected by default.

Can the notice use the last modified date?

Yes. In settings, choose whether the age check and [date] placeholder use the published date or the last modified date.

Does this work automatically on all old posts?

Yes. On new installs the notice is enabled by default, and it appears on singular items for your selected post types that meet your days threshold. There is no need to edit each item individually.

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 <strong> and <em>, and other common HTML elements. The HTML is automatically sanitized for security, so safe tags like <p>, <br>, <strong>, and <em> are allowed, while potentially dangerous tags like <script> are removed.

更新日志:

2.3.1 - 2026-12-01 2.3.0 - 2026-11-29 2.2.2 - 2026-01-16 2.2.1 - 2026-01-13 2.2.0 - 2026-01-12 2.1.0 - 2025-10-20 2.0.0 - 2025-10-16 1.3.2 - 2024-11-10 1.3.1 - 2024-11-04 1.3.0 - 2024-10-16 1.2.1 - 2024-10-09 1.2.0 - 2024-10-07 1.1.0 - 2024-10-04 1.0.1 - 2024-10-02 1.0.0 - 2024-10-01