Recent Posts Widget Extended

Descripción

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!

Características incluídas

  • Taxonomy support!
  • Post status option.
  • Custom html or text before and/or after recent posts.
  • Available filter for dev.
  • Shortcode feature.
  • Mejor recortado de imágenes.
  • Te permite establecer el título de la URL.
  • Muestra por fecha, número de comentarios o de forma aleatoria.
  • Muestra miniaturas con un tamaño y alineación personalizable.
  • Muestra el extracto con una longitud personalizable.
  • Muestra múltiples categorías, una específica o todas.
  • Muestra múltiples etiquetas, una específica o todas.
  • Muestra la fecha de la entrada.
  • Display modification date
  • Display comment count
  • Exclude current post
  • Opción «Leer más».
  • Opción «Tipo de contenido».
  • CSS personalizado.
  • Múltiples widgets.

Support this project

Explicación del shorcode

Explicación de las opciones del shortcode:

Shortcode básico

[rpwe]

Muestra lás últimas 10 entradas

[rpwe limit="10"]

Muestra lás últimas 10 entradas con miniaturas

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

Aquí están todos los argumentos por defecto del shortcode

limit="5"
offset=""
order="DESC"
orderby="date"
post_type="post"
cat=""
tag=""
taxonomy=""
post_type="post"
post_status="publish"
ignore_sticky="1"
taxonomy=""
excerpt="false"
length="10"
thumb="true"
thumb_height="45"
thumb_width="45"
thumb_default="http://placehold.it/45x45/f0f0f0/ccc"
thumb_align="rpwe-alignleft"
date="true"
readmore="false"
readmore_text="Read More »"
styles_default="true"
cssID=""
before=""
after=""

Capturas

  • Los ajustes del widget

Instalación

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. Consigue el widget Recent Posts Extended.

Installing Via FTP

  1. Descarga el plugin a tu disco duro.
  2. Descomprímelo.
  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. Consigue el widget Recent Posts Extended.

Preguntas frecuentes

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() )

¡El orden no funciona!

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 https://codex.wordpress.org/Post_Thumbnails to read more info and how to activate it in your theme.

¿Cómo añado un estilo personalizado?

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;
}

¿Por qué hay tantos «!important» en el código CSS?

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.

Filtros disponibles

Argumentos por defecto

rpwe_default_args

Extracto de la entrada

rpwe_excerpt

Post markup

rpwe_markup

Argumentos de consulta de la entrada

rpwe_default_query_arguments

Reseñas

27 de julio de 2020
Nice plugin, but you need to change the markup. This is very incorrect markup when there is a heading (<h3>) inside the link (<a>). use <span> inside <li> or some other tags. Due to erroneous markup, I cannot use this plugin on many sites/
23 de marzo de 2020
I had complained that several widget setting had no effect. I had "display thumbnail" unchecked, yet thumbnails were displayed I had "display date" unchecked, yet the dates were displayed I've noticed the same problem with an similar widget I tried in place of this one. There could be an incompatibility with my theme or another plugin. Changed from 1 to 4 stars since I can no longer assume the problem is with this plugin alone, and anything less than 4 stars would be unfair.
19 de febrero de 2020
Plugin does not work with latest version of WP 5.3.2 The text editor can not be used with this plugin activated. Great plugin - hopefully gets fixed.
Leer todas las 153 reseñas

Colaboradores y desarrolladores

«Recent Posts Widget Extended» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Recent Posts Widget Extended» ha sido traducido a 13 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Recent Posts Widget Extended» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.0 – Feb 17, 2021

  • This is just a maintenance update after a couple years with no update. Thank you for still using this plugin 🥳