Title: OneSpace Last Post
Author: igrossiter
Published: <strong>22 de Maio, 2013</strong>
Last modified: 5 de Setembro, 2014

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/onespace-lastpost.svg)

# OneSpace Last Post

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

[Descargar](https://downloads.wordpress.org/plugin/onespace-lastpost.zip)

 * [Detalles](https://gl.wordpress.org/plugins/onespace-lastpost/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/onespace-lastpost/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/onespace-lastpost/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/onespace-lastpost/#developers)

 [Soporte](https://wordpress.org/support/plugin/onespace-lastpost/)

## Descrición

Veja descrição em portugues em: http://onespace.com.br/lastpost/

This plugin provides you with a shortcode that returns the latest posts from specifics
categories or post_types, you can choose how many posts is to be show or what kind
of information you can get from posts.

Arguments:

 1. id – You can use any number of post categories ids separeted by commas
 2. num – the number of posts to return for wich categorie id
 3. info – this is where goes all the printing information

Info printing arguments:

 1. thumb: returns the post’s featured image, you must specify the width of the thumb
    after ‘:’, has a link to the post
 2. title: returns the title, has a link to the post
 3. excerpt: returns the first lines from you post you can specify the lenght of the
    text to show and a subtext. excerpt:LENGTH:SUB-TEXT, has a link to the post
 4. content: returns all content from post
 5. date: returns date of post publishing, you can specify the format after ‘:’

More about date:

Date format uses php default formating symbols, here goes some of then;

d: day of month
 m: month y: year

it has some limitations, you can’t use escape chars (yet).

check the manual to see the complete list: http://php.net/manual/en/function.date.
php

A few examples:

[os_lastpost id=”x,y,z” num=2 info=”title,date:d/m/y,thumb:130,excerpt:120: … veja
mais”]

returns the latest 2 posts from post categories x, y and z, printing the date on
Day/Month/Year, featured image 130 px of width, 120 chars from post content (html
stripped) and a custom text ” … veja mais” at the end.

[os_lastpost post_type=”custom_post_type” num=5 info=”title,excerpt”]

returns the latest 5 posts from a custom post type, printing title, and the first
60 chars from the post content and a default text ” … read more”

[os_lastpost post_type=”post” num=5 info=”title,content”]

returns the latest 5 posts from all your categories, printing title, and full content

### Arbitrary section

## Capturas

[⌊Plugin used on a post.⌉⌊Plugin used on a post.⌉[

Plugin used on a post.

[⌊Shortcode used.⌉⌊Shortcode used.⌉[

Shortcode used.

[⌊Plugin used on a widget, need additional plugin to make possible the use of shortcodes
on widget.⌉⌊Plugin used on a widget, need additional plugin to make possible the
use of shortcodes on widget.⌉[

Plugin used on a widget, need additional plugin to make possible the use of shortcodes
on widget.

## Instalación

This section describes how to install the plugin and get it working.

e.g.

 1. Unzip and upload `os-lastpost` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use the shortcode described on the description in your site
 4. If you need to use the shortcode on a widget, it is possible with a additional 
    plugin

## Preguntas frecuentes

  I need a list on a widget

Get a plugin that allows you to use any shortcode on widgets, thats fairly easy 
to find here on wp plugin repository.

  How do I found out the ID from a category?

Go to Admin > posts > categories, mouse over the category that you need, and check
the ID on the link.

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“OneSpace Last Post” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

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

[Traduce “OneSpace Last Post” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/onespace-lastpost)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/onespace-lastpost/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/onespace-lastpost/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/onespace-lastpost/)
por [RSS](https://plugins.trac.wordpress.org/log/onespace-lastpost/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 0.1

inicial version

## Meta

 *  Versión **0.1**
 *  Última actualización **Fai 12 anos**
 *  Instalacións activas **10+**
 *  Versión de WordPress ** 3.0.1 ou superior **
 *  Probado ata **4.0.38**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/onespace-lastpost/)
 * Etiquetas
 * [latest posts](https://gl.wordpress.org/plugins/tags/latest-posts/)[post](https://gl.wordpress.org/plugins/tags/post/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/onespace-lastpost/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  2 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/onespace-lastpost/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/onespace-lastpost/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/onespace-lastpost/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/onespace-lastpost/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/onespace-lastpost/reviews/?filter=1)

[A túa valoración](https://wordpress.org/support/plugin/onespace-lastpost/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/onespace-lastpost/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/onespace-lastpost/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](http://onespace.com.br/doacoes/)