Old Post Message

描述

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

  • Easy Setup: All settings can be configured from the admin panel (no code editing required)
  • Flexible Period Settings: Set the display period from 1 to 10 years
  • Message Customization: Freely edit the message text
  • Design Customization: Change background color, border color, and text color using color pickers
  • Icon Settings: Customize the message icon with emojis or symbols
  • Real-time Preview: Instantly see changes in the settings screen
  • ON/OFF Toggle: Temporarily disable the feature without deactivating the plugin
  • Responsive Design: Properly displayed on mobile devices
  • Performance Optimized: Scripts and styles only load when needed

Use Cases

  • Technical blog articles about older software versions
  • Articles that may have system specification changes
  • Content with time-sensitive information
  • Articles about laws and regulations that may have changed

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

  • English (default)
  • Japanese (日本語)

Privacy Policy

This plugin does not collect, store, or transmit any personal information or user data. All settings are stored locally in your WordPress database and remain on your server.

The plugin does not:
* Track users
* Send data to external servers
* Use cookies
* Store IP addresses
* Collect analytics

屏幕截图

安装

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.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

「Old Post Message」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Old Post Message」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Old Post Message」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2.4

  • Fixed: Properly enqueued JavaScript and CSS using WordPress standards
  • Improved: Admin scripts now only load on plugin settings page
  • Improved: Frontend styles now only load on single post pages
  • Improved: Better performance and compatibility with other plugins
  • Changed: Code refactored to follow WordPress Coding Standards

1.2.3

  • Fixed: Added translators comments for better translation support
  • Fixed: Changed placeholder format to ordered placeholders (%1$d)
  • Fixed: Removed deprecated load_plugin_textdomain function
  • Changed: Plugin name changed to Old Post Message
  • Changed: Text domain changed to old-post-message
  • Improved: Code quality improvements for WordPress.org standards

1.2.2

  • New: Added multilingual support (English and Japanese)
  • New: All text strings are now translatable
  • Improved: Plugin header information in English

1.2.1

  • Fixed: Security improvements (added proper escaping)
  • Fixed: All output now properly escaped for security

1.2.0

  • New: Added settings page in admin panel
  • New: Design customization with color pickers
  • New: Real-time preview feature
  • New: Display period setting (1-10 years)
  • New: Message and icon editing capabilities
  • New: ON/OFF toggle feature
  • Improved: Overall user experience improvements

1.0.0

  • Initial release
  • Post date-based message display feature