Recent Posts Widget Extended


This plugin will enable a custom, flexible and super advanced recent posts, you can display it via shortcode or widget. Allows you to display a list of the most recent posts with thumbnail, excerpt and post date, also you can display it from all or specific or multiple taxonomy, post type and much more!

Features Include

  • Taxonomy support!
  • Post status option.
  • Custom html or text before and/or after recent posts.
  • Available filter for dev. Please read FAQ.
  • Shortcode feature. Please read Other Notes
  • Better image cropping.
  • Allow you to set title url.
  • Display by date, comment count or random.
  • Display thumbnails, with customizable size and alignment.
  • Display excerpt, with customizable length.
  • Display from all, specific or multiple category.
  • Display from all, specific or multiple tag.
  • Display post date.
  • Display modification date
  • Display comment count
  • Exclude current post
  • Read more option.
  • Post type option.
  • Custom CSS.
  • Multiple widgets.



Developed by Theme Junkie

Shorcode Explanation

Explanation of shortcode options:

Basic shortcode


Display 10 recent posts

[rpwe limit="10"]

Display 10 recent posts with thumbnail

[rpwe limit="10" thumb="true"]

Here’s the full default shortcode arguments

readmore_text="

Screenshot (schermate di esempio)

  • The widget settings


Through Dashboard

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

Installing Via FTP

  1. Download the plugin to your hardisk.
  2. Unzip.
  3. Upload the recent-posts-widget-extended 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 Recent Posts Extended widget.


How to filter the post query?

You can use rpwe_default_query_arguments to filter it. Example:

add_filter( 'rpwe_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( 'rpwe_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. (related question)

No image options

Your theme needs to support Post Thumbnail, please go to to read more info and how to activate it in your theme.

How to add custom style?

First, please uncheck the Use Default Style option then place the css code below in the Custom CSS box, then you can customize it to fit your needs

.rpwe-block ul {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
.rpwe-block li {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
    list-style-type: none;
.rpwe-block a {
    display: inline !important;
    text-decoration: none;
.rpwe-block h3 {
    background: none !important;
    clear: none;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    font-weight: 400;
    font-size: 12px !important;
    line-height: 1.5em;
.rpwe-thumb {
    border: 1px solid #eee !important;
    box-shadow: none !important;
    margin: 2px 10px 2px 0;
    padding: 3px !important;
.rpwe-summary {
    font-size: 12px;
.rpwe-time {
    color: #bbb;
    font-size: 11px;
.rpwe-alignleft {
    display: inline;
    float: left;
.rpwe-alignright {
    display: inline;
    float: right;
.rpwe-aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
.rpwe-clearfix:before,.rpwe-clearfix:after {
    content: "";
    display: table !important;
.rpwe-clearfix:after {
    clear: both;
.rpwe-clearfix {
    zoom: 1;
Why so many !important in the css code?

I know it’s not good but I have a good reason, the !important is to make sure the built-in style compatible with all themes. But if you don’t like it, you can turn of the Use Default Styles and remove all custom css code in the Custom CSS box then create your own style.

Available filters

Default arguments


Post excerpt


Post markup


Post query arguments



23 Ottobre 2019
I've been using the plugin on every site I own for the last month now, and it is absolutely perfect. Very fast to install, all the features I need are on it and the widget looks nice in all of my sites' sidebars. Another thing I like is, unlike the last plugin I was using which would not allow you to have different settings if you had multiple widgets on one page, this one allows you to easily have different settings for each widget AND the settings stick 🙂 Love it! Thanks a lot. I highly recommend it.
16 Agosto 2019
Hi, this plugin is very good, it really helps the clients show a categorised list with an image at the top. It save them having to manually input links to the relevant posts.
7 Agosto 2019
I love this plugin. I just wish it was responsive. We have 4 going across and it just squeezes everything together on a phone. Looks terrible. Tried hiding 3rd and 4th instances with CSS. That didn't make it any better. Wish it would stack. If it did that, I'd give it 10 stars. Everything else is amazing.
12 Luglio 2019
Just what I was looking for! A nice simple shortcode with clear examples of how to tweak. I'd love to be able to add custom field/taxonomy info...but I know that's pushing it. Many thanks!
Leggi tutte le recensioni di 147

Crediti e riconoscimenti

“Recent Posts Widget Extended” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.


“Recent Posts Widget Extended” è stato tradotto in 9 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Recent Posts Widget Extended” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche) – Oct 19, 2017

  • Thank you for still using this plugin. This is just a maintenance update, we just back to support and maintenance this plugin. New features will be available soon! – June 9, 2016

  • Updated languages
  • Bump Requires at least to version 4.5
  • Support selective refresh
  • Updated widget sanitization – Nov 09, 2015

  • Sanitize before and after element for better security – 19/09/2015

  • Change text-domain to matches the plugin slug
  • Add: Exclude post option – 13/08/2015

  • Add: Brazilian portuguese translation. Props Gil Barbara
  • Add: Option to show modification date. Props kurt-hectic
  • Add: Option to show comment count. Props Oliver Larsen
  • Improve: Add validation to the Order and Orderby option before saving the widget. – 12/07/2015

  • Prepare to support WordPress 4.3
  • Update: Limit the number of tags and categories displayed in the widget

0.9.9 – 29/11/2014

  • Fix: for “cssID” attribute in shortcodes. Props Ikart
  • Fix: Thumbnail fallback uses get_the_post_thumbnail
  • Add: rpwe-img to the thumbnail.
  • Add: css class option.
  • Improve: Move use styles default option to above the custom css. I’m sorry for the incosistency.
  • Update: Language

0.9.8 – 26/11/2014

  • Fix: Compatibility issue with Get The Image plugin/extension.
  • Fix: Issue with html or text before and after recent posts, now it allow all HTML tags.

0.9.7 – 13/09/2014

  • Add: Relative date option eg: 4 days ago. Props George Venios
  • Add: Featured Video Plus plugin support.
  • Add: Hide widget if no posts exist.
  • Add: Fallback to the image attachment if no image url exist in the resizer script.
  • Fix: Compatibility issue if the user theme use the same code library(Aqua Resizer) and causing blank screen.