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

Juiz Outdated Post Message

描述

This plugin adds a message before or after (or both) your post content when this post is outdated.
You visitor knows when a post is a little bit outdated and reads the content keeping its age in mind.

Features

  • Choose the place where the message is displayed (before or after the content, or both)
  • Choose which type of posts that are concerned
  • Custom delay for each post
  • Hide the message for a specific post (directly from the edition page)
  • Shortcode and template function
  • Lots of hooks (for developers)

A full documentation is coming.

If you find a bug, please, tell me!

You want to translate this plugin and have your name in this page? Find translation files here.

屏幕截图

  • The options page
  • The metabox in a post edition (specific options)
  • The message displayed before the content

安装

You can use one of both method :

Installation via your WordPress website

  1. Go to the admin menu ‘Plugins’ -> ‘Install’ and search for ‘Juiz Outdated’
  2. Click ‘install’ and activate it
  3. (optional) Configure the Plugin in Appearance

Manual Installation

  1. Download the plugin (it’s better :p)
  2. Unzip juiz-outdated-post-message folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. It’s finished !

常见问题

No question for the moment

评价

2017年2月6日
Works like a charm! If you want to use the shortcode in your template, do it like this : <?php echo do_shortcode('[outdated]'); ?>
阅读所有5条评价

贡献者及开发者

“Juiz Outdated Post Message” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Juiz Outdated Post Message”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Juiz Outdated Post Message”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.4

  • Bug fix / Compatibility
    • Compatible with PHP8.
    • Tested on the latest WordPress version

1.0.3

  • Compatibility:
    • Tested up to WordPress 4.5 (RC1)
    • Tested up to PHP7
  • Engine:
    • Better code readability
    • Some improvements in security (with translations)
    • Information message bug fixed in settings page

1.0.2

  • Tested in WordPress 4.4.1
  • Interface:
    • Admin icon post type displayed in settings page
  • Improvements:
    • PHP Notice removed
    • Code error with shortcode fixed (do_shortcode('[outdated]') should works better)
    • Code design improvement

1.0.1

  • Notice in PHP 5.4 fixed

1.0.0

  • The first stable version, tell me if you find something wrong.