Linux 软件免费装

Old Post Message

开发者 atsushicafek
更新时间 2025年11月5日 15:44
PHP版本: 7.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

notification message alert old post outdated content

下载

1.2.5

详情介绍:

Old Post Message automatically displays a customizable message at the beginning of posts that are older than a specified period since publication. This is useful for technical blogs, system information, or any content that may become outdated over time, helping to inform readers that the information might not be current. Main Features Use Cases How to Use
  1. Activate the plugin
  2. Go to Settings → Old Post Message in WordPress admin
  3. Configure the display period, message, and design
  4. Click Save Settings
No code editing required! Supported Languages

安装:

Automatic Installation
  1. Go to Plugins → Add New in WordPress admin
  2. Search for "Old Post Message"
  3. Find this plugin and click Install Now
  4. Click Activate
After Installation Configure settings from Settings → Old Post Message.

升级注意事项:

1.2.5 Admin JS enqueued (handle + wp_add_inline_script). Inline CSS now escaped; colors sanitized. Added safe defaults in frontend enqueue; use YEAR_IN_SECONDS. Versioned style handle. i18n updated to %1$d. 1.2.4 Important update for WordPress.org compliance. Properly enqueued all scripts and styles. Recommended for all users. 1.2.3 Plugin name changed to Old Post Message for WordPress.org compliance. All features remain the same and work as before. 1.2.0 Settings page added! You can now customize messages and design from the admin panel without editing code. 1.0.0 Initial release.

常见问题:

On which pages is the message displayed?

The message is displayed only on individual post pages. It is not displayed on pages, archive pages, or the homepage.

Can I change the display period?

Yes, you can set it from 1 to 10 years in the settings screen.

Can I change the message content?

Yes, you can freely edit it in the settings screen text area. Use %1$d as a placeholder and it will be automatically replaced with the number of years.

Can I change the design?

Yes, you can change the background color, border color, and text color using color pickers in the settings screen.

Can I hide the icon?

Yes, leave the icon field blank in the settings screen to hide it.

Can I temporarily disable the feature?

Yes, uncheck the Enable Message checkbox in the settings screen to stop the feature without deactivating the plugin.

Does it support custom post types?

The current version only supports regular posts. Custom post type support may be added in future versions.

Is it available in multiple languages?

Currently supports English and Japanese.

What happens to the data when I delete the plugin?

When you delete the plugin, the settings data will also be automatically deleted from your database.

Does this plugin slow down my site?

No. The plugin is optimized to only load its CSS on single post pages and JavaScript only on the admin settings page. There is no performance impact on other pages.

更新日志:

1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.0.0