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

Last Modified Posts

描述

LMP allows you to add in your sidebar a widget that will display the last modified articles in descending order of modification date.

Settings to customize:

  • Allow you to set title widget
  • Display Number of items
  • Display modified date
  • Display thumbnails

If no thumbnail was found for the article, LMP will add a generic image.

屏幕截图

  • Widget setup option
  • LMP in action

安装

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the ‘/wp-content/plugins/Last-Modified-Posts’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Apparence->Widget to configure the plugin

常见问题

No image/thumbnail options?

Your theme needs to support Post Thumbnail, please go to https://codex.wordpress.org/Post_Thumbnails to read more info and how to activate it in your theme.
By default, LMP display generic thumbnail.

Thumbnail Size

By default LMP have 100×100 size.

How to change default Thumbnail

Upload your default image in /wp-content/plugins/Last-Modified-Posts/assets/image. Only PNG file. Size : 100*100.

How to add custom style?

The plugin comes with a very basic style, if you want to add custom style please do wp_dequeue_style to remove the default stylesheet. Place the code below in your theme functions.php.

Then you can add your custom style using Custom CSS plugin or in your theme style.css. Here’s the plugin selector
.LPM_Widget
.LPM_Widget .LPM_post-modified
.flotte
.textleft
.lightinfo

How to widget white backgound color?

In your backend wordpress, clic on “Apparence”. Click on “Additional CSS”. Add
.LPM_Widget {background-color:#fff;}
Click on publish.

评价

此插件暂无评价。

贡献者及开发者

“Last Modified Posts” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

将“Last Modified Posts”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

3.5

  • Code rewrite
  • Add add internationalization file
  • readme.txt update

3.1

  • readme.txt update

3.0

  • Code rewrite
  • Add the option “see thumbnail”

2.0

  • Add the option “see modification date”
  • Minor bug fix