Title: Smart Recent Posts Widget
Author: Ga Satrya
Published: <strong>2 augusts, 2016</strong>
Last modified: 28 jūlijs, 2024

---

Meklēt spraudņus

![](https://ps.w.org/smart-recent-posts-widget/assets/banner-772x250.png?rev=2618953)

Šī 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.

![](https://ps.w.org/smart-recent-posts-widget/assets/icon-256x256.png?rev=2618944)

# Smart Recent Posts Widget

 Autors [Ga Satrya](https://profiles.wordpress.org/satrya/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/smart-recent-posts-widget.1.0.4.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/smart-recent-posts-widget/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/smart-recent-posts-widget/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/smart-recent-posts-widget/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/smart-recent-posts-widget/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/smart-recent-posts-widget/)

## Apraksts

**Due to WordPress 5.8 major update for Widgets, if you want to use this plugin,
you must use WordPress 5.8.x**

**Smart recent posts widget** provides flexible and highly customizable [recent posts widget](https://idenovasi.com/projects/smart-recent-posts-widget/).
Allows you to display a list of the most recent posts with thumbnail, excerpt, date,
author, comment count also you can display it from all or specific or multiple categories
or tags, post types and much more!

#### Install, Activate, Done!

Using the widget is super easy with clear inline information. It provides a lot 
of options to fit your needs, need more option? Please ask on **Support** forum.

#### Features Include

 * **Style**: Choose 3 different posts list style
 * Open link in new tab
 * Show/hide post title
 * Allow you to set title url
 * Selected or multiple post types
 * Selected or multiple categories
 * Selected or multiple tags
 * Include or Exclude Categories
 * Post status
 * Custom html or text before and/or after recent posts
 * Orderby date, comment count, random, and more
 * Display thumbnails
 * Display excerpt, with customizable length.
 * Display post date
 * Display modification date
 * Display comment count
 * Display post author
 * Exclude current post
 * Custom CSS
 * Multiple widgets

#### Support this project

 * [Translate to your language](https://translate.wordpress.org/projects/wp-plugins/smart-recent-posts-widget/).
 * Contribute on [Github](https://github.com/idenovasi/smart-recent-posts-widget).
 * [Donate](https://paypal.me/satrya).

### Style Explanation

There are 3 style you can choose:

 * Default
 * Classic
 * Modern

**Default**
 This is just a basic style, the posts list style follow your theme 
stylesheet.

**Classic**
 Classic style is a basic style with some little improvement, it adds
a nice border bottom to each list to seperate them and change the font color and
size of the post meta and excerpt. This style works with whatever setting you choose,
either small thumbnail or big thumbnail with centered position.

**Modern**
 Modern style adds a nice opacity to the thumbnail and display the title
on the corner of the thumbnail. This style **only** works perfectly with some condition,
if you want to get the best result please follow below steps:

 * Switch the **Thumbnail Size** to _medium_
 * **Only** display the title, please uncheck another data such as **date**, **comment
   count**, **author**, etc.
 * Remove everything inside the **Custom CSS** box.
 * Switch the Style option to **Modern**
 * Done!

Please open the **Screenshot** tab above to see the style design.

## Ekrānuzņēmumi

 * [[
 * Modern style, tested with default theme Twenty Sixteen
 * [[
 * Classic style
 * [[
 * Default style
 * [[
 * Widget settings

## Uzstādīšana

**Through Dashboard**

 1. Log in to your WordPress admin panel and go to Plugins -> Add New
 2. Type **smart recent posts widget** in the search box and click on search button.
 3. Find **Smart Recent Posts Widget** plugin.
 4. Then click on Install Now after that activate the plugin.
 5. Go to the widgets page **Appearance -> Widgets**.
 6. Find **Smart Recent Posts** widget.

**Installing Via FTP**

 1. Download the plugin to your hardisk.
 2. Unzip.
 3. Upload the **smart-recent-posts-widget** folder into your plugins directory.
 4. Log in to your WordPress admin panel and click the Plugins menu.
 5. Then activate the plugin.
 6. Go to the widgets page **Appearance -> Widgets**.
 7. Find **Smart Recent Posts** widget.

## BUJ

### How to filter the post query?

You can use `srpw_default_query_arguments` to filter it. Example:

    ```
    add_filter( 'srpw_default_query_arguments', 'your_custom_function' );
    function your_custom_function( $args ) {
        $args['posts_per_page'] = 10; // Changing the number of posts to show.
        return $args;
    }
    ```

### How to filter the post excerpt?

Post excerpt now comes with filter to easily dev to change/customize it. `apply_filters('
srpw_excerpt', get_the_excerpt() )`

### Ordering not working!

Did you installed any Post or Post Type Order? Please try to deactivate it and try
again the ordering.

### No image 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.

### Available filters

Default arguments

    ```
    srpw_default_args
    ```

Post excerpt

    ```
    srpw_excerpt
    ```

Post markup

    ```
    srpw_markup
    ```

Post query arguments

    ```
    srpw_default_query_arguments
    ```

## Atsauksmes

![](https://secure.gravatar.com/avatar/3be841a46a4fedeb48b0a10c45bc2ddd17da9a53be09dfa871c73b1b279609f7?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-13347/)󠁿

 [ivansoenderholm](https://profiles.wordpress.org/ivansoenderholm/) 7 aprīlis, 2024

Excellent plugin

![](https://secure.gravatar.com/avatar/f6ca5af100bd77a5ae8552b04dab314c64dd2f64c898df0554d974f5ee6a89db?
s=60&d=retro&r=g)

### 󠀁[Just perfect](https://wordpress.org/support/topic/just-perfect-628/)󠁿

 [knecker](https://profiles.wordpress.org/knecker/) 2 aprīlis, 2023

works like a charm!

![](https://secure.gravatar.com/avatar/c2321722809b73068b71f4d3815aa0ed93e0981f840c3f6d6a8f428f26ab0836?
s=60&d=retro&r=g)

### 󠀁[exactly what I need](https://wordpress.org/support/topic/exactly-what-i-need-156/)󠁿

 [acarballal](https://profiles.wordpress.org/acarballal/) 28 jūlijs, 2022

very complete and with custom CSS avaliable

![](https://secure.gravatar.com/avatar/7b3ce06667081c45c9b767f787e3b8497c39b30cc8bc0313df36cbbd5b3d5ee3?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-32496/)󠁿

 [ovidiucupse](https://profiles.wordpress.org/ovidiucupse/) 27 oktobris, 2021

This is the best Recent Post widget plugin. Excellent functionality, excellent suport.
Clean, simple and efficient, exactly what you need for any site Thank you

![](https://secure.gravatar.com/avatar/7e2b6531e8a6965eae9f1cc857a9dd9db8da0db1d20de7c9c4f015058a512800?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin](https://wordpress.org/support/topic/awesome-plugin-5945/)󠁿

 [Rene Morozowich](https://profiles.wordpress.org/renemorozowich/) 27 maijs, 2021

This is such a great little plugin. Love the flexibility and options!

![](https://secure.gravatar.com/avatar/2e4e95a327e4991893cccf91a9b8462b6b537b3157e55aa4a84e23515ebac23c?
s=60&d=retro&r=g)

### 󠀁[Useful](https://wordpress.org/support/topic/useful-815/)󠁿

 [srinivasagopalan](https://profiles.wordpress.org/srinivasagopalan/) 11 maijs, 
2021

Simple and Good looking list widget.

 [ Lasīt 30 atsauksmi ](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/)

## Autori un izstrādātāji

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

Līdzdalībnieki

 *   [ Ga Satrya ](https://profiles.wordpress.org/satrya/)

“Smart Recent Posts Widget” ir tulkots lokalizācijās 8. Paldies [tulkotājiem](https://translate.wordpress.org/projects/wp-plugins/smart-recent-posts-widget/contributors)
par ieguldījumu.

[Tulkot “Smart Recent Posts Widget&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/smart-recent-posts-widget)

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

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/smart-recent-posts-widget/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/smart-recent-posts-widget/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/smart-recent-posts-widget/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/smart-recent-posts-widget/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.0.4

 * Fix XSS issue.

**Due to WordPress 5.8 major update for Widgets, if you want to (continue) use this
plugin, you must use WordPress 5.8.x**

#### 1.0.2

 * Fix post status issue.
 * Support WordPress 5.8

## Meta

 *  Versija **1.0.4**
 *  Pēdējo reizi atjaunots: **pirms 2 gadiem**
 *  Aktīvās instalācijas: **9 000+**
 *  WordPress versija ** 5.8 vai jaunāka **
 *  Pārbaudīts līdz: **6.5.8**
 *  PHP versija ** 5.6 vai jaunāka **
 *  Valodas
 * [Dutch](https://nl.wordpress.org/plugins/smart-recent-posts-widget/), [English (US)](https://wordpress.org/plugins/smart-recent-posts-widget/),
   [Romanian](https://ro.wordpress.org/plugins/smart-recent-posts-widget/), [Spanish (Chile)](https://cl.wordpress.org/plugins/smart-recent-posts-widget/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/smart-recent-posts-widget/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/smart-recent-posts-widget/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/smart-recent-posts-widget/),
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/smart-recent-posts-widget/),
   un [Swedish](https://sv.wordpress.org/plugins/smart-recent-posts-widget/).
 *  [Tulkojiet savā valodā](https://translate.wordpress.org/projects/wp-plugins/smart-recent-posts-widget)
 * Birkas:
 * [popular posts](https://lv.wordpress.org/plugins/tags/popular-posts/)[Random Posts](https://lv.wordpress.org/plugins/tags/random-posts/)
   [recent posts](https://lv.wordpress.org/plugins/tags/recent-posts/)[thumbnails](https://lv.wordpress.org/plugins/tags/thumbnails/)
   [widget](https://lv.wordpress.org/plugins/tags/widget/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/smart-recent-posts-widget/advanced/)

## Vērtējumi

 4.8 no 5 zvaigznēm.

 *  [  28 5-star reviews     ](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/)

## Līdzdalībnieki

 *   [ Ga Satrya ](https://profiles.wordpress.org/satrya/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/smart-recent-posts-widget/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](https://paypal.me/satrya)