Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Last Modified Posts

Apraksts

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.

Ekrānuzņēmumi

  • Widget setup option
  • LMP in action

Uzstādīšana

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

BUJ

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.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Last Modified Posts” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

“Last Modified Posts” ir tulkots lokalizācijā 1. Paldies tulkotājiem par ieguldījumu.

Tulkot “Last Modified Posts&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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