Old Post Notice

外掛說明

Simple plugin to display a notice on all posts that are older than a specified number of days.

It is particularly beneficial for blogs with numerous older posts, as it allows you to alert your visitors that the information may be outdated.

Features

  • Enable or disable the notice
  • Set your own notice text
  • Insert the post published/modified date in the notice
  • Set how many days old a post needs to be for the notice to display
  • Display based on the published or modified date of the post
  • Position the notice above or below the post content
  • Default styling included
  • Color options for the background/text color
  • Styling can be disabled to allow styling via custom CSS
  • Dashboard page under the posts menu that lists all posts displaying the old post notice
  • Dashboard widget that lists a selection of posts displaying the old post notice

Usage

After installation you’ll find the settings in Settings > Old Post Notice, once enabled the notice will appear as per the settings you have applied on old posts.

Contribute

Help contribute towards the development of this plugin via the GitHub repository.

You can also help translate this plugin into your language.

螢幕擷圖

  • Notice
  • Settings
  • Page
  • Widget

安裝方式

Installation

Please see this documentation.

Updates

Please see this documentation.

Minimum Requirements

  • PHP 7.0.0
  • WordPress 5.0.0

常見問題集

Can I see a list of posts displaying the old post notice?

Yes. Enable the dashboard page and/or widget setting.

Can I set the colors?

Yes. Ensure the styling setting is set to default, then use the color settings to choose your colors.

Can I use my own custom CSS?

Yes. It is best to set the styling setting to none, then use the old-post-notice class to apply your custom CSS rules.

使用者評論

2024 年 10 月 1 日 1 則留言
hello how are you ? Hope all is okay with you? I was trying to download your plugin but it not downloadable and I keep getting error
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Old Post Notice〉的開發相關工作。

參與者

〈Old Post Notice〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Old Post Notice〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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: Initial release