Title: Show Post Shortcode
Author: Niraj Shah
Published: <strong>7 de Maio, 2009</strong>
Last modified: 13 de Marzo, 2026

---

Buscar plugins

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

# Show Post Shortcode

 Por [Niraj Shah](https://profiles.wordpress.org/nirajshah-1/)

[Descargar](https://downloads.wordpress.org/plugin/show-posts-shortcode.0.1.zip)

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

 [Soporte](https://wordpress.org/support/plugin/show-posts-shortcode/)

## Descrición

This simple shortcode plugin allows you to list posts as a bulleted list linking
to the full article. You can limit
 the list to posts from a specific category and
you can select the number of posts to show. The `order` and orderby options lets
you sort the list too.

Usage is simple. Create a page or post and use the code `[showposts category="2"
num="4"]` – this will show
 all 4 posts from category 2. Another example `[showposts
category="1" num="-1" orderby="date" order="DESC"]` shows all the posts from category
1 ordered by the date (newest post first).

By default, only 5 posts are shown (unless you use the `num` option) and sorting
in by date (oldest to newest).

### Example

You can see two examples of the code working at the following links:

 * https://www.xtremeps3.com/ps5-firmware-history/
 * https://www.xtremeps3.com/firmware-history/
 * https://www.xtremeps3.com/faqs/

### Usage

The shortcode is `[showposts]`

You can use the following parameters to customize what is displayed (all are optional):

    ```
    [showposts category="2" num="4" orderby="date" order="DESC"]
    ```

Set `order` to one of the following:

 * `author` – Sort by the numeric author IDs.
 * `category` – Sort by the numeric category IDs.
 * `content` – Sort by content.
 * `date` – Sort by creation date.
 * `ID` – Sort by numeric post ID.
 * `menu_order` – Sort by the menu order. Only useful with pages.
 * `mime_type` – Sort by MIME type. Only useful with attachments.
 * `modified` – Sort by last modified date.
 * `name` – Sort by stub.
 * `parent` – Sort by parent ID.
 * `password` – Sort by password.
 * `rand` – Randomly sort results.
 * `status` – Sort by status.
 * `title` – Sort by title.
 * `type` – Sort by type.
 * orderby can be one the following:
 * DESC
 * ASC

## Instalación

 1. Upload `show-posts-shortcode.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `[showposts category="2" num="4"]` in your post or pages

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

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

Colaboradores

 *   [ Niraj Shah ](https://profiles.wordpress.org/nirajshah-1/)

[Traduce “Show Post Shortcode” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/show-posts-shortcode)

### Interesado no desenvolvemento?

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

## Meta

 *  Versión **0.1**
 *  Última actualización **Fai 4 meses**
 *  Instalacións activas **100+**
 *  Versión de WordPress ** 2.7 ou superior **
 *  Probado ata **6.9.4**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/show-posts-shortcode/)
 * Etiquetas
 * [list](https://gl.wordpress.org/plugins/tags/list/)[posts](https://gl.wordpress.org/plugins/tags/posts/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/show-posts-shortcode/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

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

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

## Colaboradores

 *   [ Niraj Shah ](https://profiles.wordpress.org/nirajshah-1/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/show-posts-shortcode/)