该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Label Old Posts

描述

As content ages (especially technical blogs), it may not be as relevant. This plugin automatically marks content older than a specified date with a customizable message. For example, if you have content that is older than 2 years, you might want to alert the user to check for new releases of the information.

屏幕截图

  • The plugin will label your older posts with a customized message.

安装

  1. Upload label-old-posts to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('label-old-posts'); ?> in your template for a piece of content in the location you’d like it to be labeled.

常见问题

Can I customize the date that items are marked as old by?

Yup. Check the plugin settings.

Can I change the message displayed?

Yup. You can even use HTML.

评价

2018 年 4 月 16 日
Exactly what I needed. Basic knowledge of PHP and the WordPress System might be needed to insert the code at the right place. But that also gives flexibility. Works with WP 4.9.5 without problems.
阅读所有1条评价

贡献者及开发者

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

贡献者

帮助将「Label Old Posts」翻译成简体中文。

对开发感兴趣吗?

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