Title: Display Last Post(s)
Author: fbarret
Published: <strong>27 de Mayo de  2010</strong>
Last modified: 28 de Mayo de  2010

---

Buscar plugins

Este plugin **no ha sido probado con ninguna las 3 últimas versiones principales
de WordPress**. Puede que ya no se mantenga o no tenga soporte, y puede que tenga
problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/display-last-posts.svg)

# Display Last Post(s)

 Por [fbarret](https://profiles.wordpress.org/fbarret/)

[Descargar](https://downloads.wordpress.org/plugin/display-last-posts.zip)

 * [Detalles](https://cl.wordpress.org/plugins/display-last-posts/#description)
 * [Reseñas](https://cl.wordpress.org/plugins/display-last-posts/#reviews)
 *  [Instalación](https://cl.wordpress.org/plugins/display-last-posts/#installation)
 * [Desarrollo](https://cl.wordpress.org/plugins/display-last-posts/#developers)

 [Soporte](https://wordpress.org/support/plugin/display-last-posts/)

## Descripción

**Display Last Posts** is a plugin that allows you to display the last post(s) (
by default, the last one only) anywhere on your blog.

Official page and french translation : http://www.fb-graphic.com/bonus/display-last-
posts-wordpress-plugin

Two ways are available: using a shortcode in posts or pages, within the CMS, or 
putting a small PHP code in a template of your theme.

**shortcode** : [last-posts] or [last-posts nb=”5″ cont=”excerpt”]

**code PHP** : < ?php lastPosts(”,”); ?> or < ?php lastPosts(5,’excerpt’); ?> (suppress
space between < and ?)

The shortcode is: **[last-posts]**
 By default, only the last post is displayed,
with its whole content. Optional arguments, ex.: **[last-posts nb=”5″ cont=”excerpt”]**–
with [nb] you specify the quantity of posts you want to display (always newest first),
and with [cont=”excerpt”] you specify that only the excerpt of the posts will be
displayed.

The PHP code for templates is: **< ?php lastPosts(”,”); ?>**
 By default, only the
last post is displayed, with its whole content. Optional arguments, ex.: **< ?php
lastPosts(5,’extrait’); ?>** – the first argument specify the number of posts to
display (always newest first), and the second one specify that only the excerpt 
must be displayed.

**Display Last Post(s)** is widely inspired by the sc_liste() function given here:

http://www.webinventif.fr/wordpress-creation-de-shortcode-avance/

### CSS styling

The code produced is included in a

<

div> with class=”display-last-post” (

<

div class=”display-last-posts”>). You can then easily apply a remote CSS.

### Bug Reports / Suggestions

You can contact me here: http://www.fb-graphic.com/fb-contact.php
 Thanks to specify[
Display Last Post ] in the title.

### Donate Link

If you wish to donate, please go there: http://www.fb-graphic.com/dons/
 Thanks!

### License

copyright (c) 2010 Francois Barret < www.fb-graphic.com >

The free distribution, use and modification of this source are permitted provided
they meet the following clauses:

 * This entire notice and the entire license must be preserved.
 * The name and internet references (web adresses) of the author must stay visible
   whatever the mode of distribution and modification of the source.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

## Instalación

Realised under WordPress 2.9.2 – at least valid for this version.

Download and unzip “display-last-post.zip” – place the “display-last-post” folder
in the wp-content/plugins folder. Then activate Display Last Post(s) form the Plugins
panel.

## FAQ

/

## Reseñas

No hay reseñas para este plugin.

## Colaboradores & Desarrolladores

“Display Last Post(s)” es software de código abierto. Las siguientes personas han
contribuido a este plugin.

Colaboradores

 *   [ fbarret ](https://profiles.wordpress.org/fbarret/)

[Traduce “Display Last Post(s)” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/display-last-posts)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/display-last-posts/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/display-last-posts/),
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/display-last-posts/)
por [RSS](https://plugins.trac.wordpress.org/log/display-last-posts/?limit=100&mode=stop_on_copy&format=rss).

## Historial de cambios

/

## Meta

 *  Versión **1.0**
 *  Última actualización **hace 16 años**
 *  Instalaciones activas **70+**
 *  Versión de WordPress ** 1.5 o superior **
 *  Probado hasta **2.9.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/display-last-posts/)
 * Etiquetas
 * [last](https://cl.wordpress.org/plugins/tags/last/)[page](https://cl.wordpress.org/plugins/tags/page/)
   [post](https://cl.wordpress.org/plugins/tags/post/)[posts](https://cl.wordpress.org/plugins/tags/posts/)
   [shortcode](https://cl.wordpress.org/plugins/tags/shortcode/)
 *  [Vista Avanzada](https://cl.wordpress.org/plugins/display-last-posts/advanced/)

## Calificaciones

 5 de 5 estrellas.

 *  [  1 valoración de 5 estrellas     ](https://wordpress.org/support/plugin/display-last-posts/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/display-last-posts/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/display-last-posts/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/display-last-posts/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/display-last-posts/reviews/?filter=1)

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

[Ver todas las reseñas](https://wordpress.org/support/plugin/display-last-posts/reviews/)

## Colaboradores

 *   [ fbarret ](https://profiles.wordpress.org/fbarret/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/display-last-posts/)

## Donar

¿Te gustaría apoyar el avance de este plugin?

 [ Donar para este plugin ](http://www.fb-graphic.com/dons/)