Linux 软件免费装
Banner图

DX Out of Date

开发者 nofearinc
devrix
更新时间 2024年11月6日 19:30
PHP版本: 7.4 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

posts message old outdated

下载

1.0

详情介绍:

DX Out of Date allows you to display a notification box on your posts when a given amount of time has passed. Quite handy when writing tutorials or any content that might get outdated due to external factors - now you could automatically notify your readers after a given period. You can configure the expiration time of your posts in the admin panel. Valid time units are days, months and years. Currently the plugin options are:

安装:

  1. Upload the dx-out-of-date folder in the /wp-content/plugins/ directory
  2. Activate the DX Out of Date plugin through the 'Plugins' menu in WordPress
  3. Go to Settings -> DX Out of Date
  4. Configure your time period and customization settings
  5. Save the form and you're good to go!
Other ways to display the "Out of Date" box snippet:
  1. Use the [out_of_date] shortcode
  2. Call the DX_Out_Of_Date::outdated_box_generator() function right before rendering the post

屏幕截图:

  • Out of date message in old post.
  • Admin options page
  • Sample view of an outdated post

升级注意事项:

This version includes some new fresh images and new options

常见问题:

How to configure the duration/period settings?

These are the options that define what an "outdated" post means. For instance, selecting months in Duration frame and 6 in Period means that every post older than 6 months would be qualified as "outdated".

Can I limit the message to show only on certain posts/post types?

From the Out of Date Settings page, you can choose which post types will have the outdated message (Default is Posts only). In the Post Edit page you have a checkbox, which toggles the message for that specific post. The Default state of that checkbox can be changed from the Plugin Settings page via the "Enable the message by default on all outdated posts" checkbox.

Can I customize the Outdated Message?

You can customize the content of the message from the "Message" field in the Out of Date Settings page. On top of that, you can change the Background and Text colors to your liking.

Why would I need this plugin?

If you write tutorials or articles related to products/services in a given state, updating them could affect the validity of your resources. A good example is one of the resources that led to building the plugin - Brandon's blog, with his custom approach for marking tutorials as outdated.

更新日志:

2.1. 2.0 1.0.1 1.0 0.3