Title: Show Post Shortcode
Author: Niraj Shah
Published: <strong>7 Tháng 5, 2009</strong>
Last modified: 13 Tháng 3, 2026

---

Tìm kiếm plugin

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

# Show Post Shortcode

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

[Tải về](https://downloads.wordpress.org/plugin/show-posts-shortcode.0.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/show-posts-shortcode/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/show-posts-shortcode/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/show-posts-shortcode/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/show-posts-shortcode/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/show-posts-shortcode/)

## Mô tả

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

## Cài đặt

 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

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Show Post Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Show Post Shortcode” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/show-posts-shortcode)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/show-posts-shortcode/), 
check out [SVN repository](https://plugins.svn.wordpress.org/show-posts-shortcode/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/show-posts-shortcode/)
qua [RSS](https://plugins.trac.wordpress.org/log/show-posts-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Phiên bản **0.1**
 *  Cập nhật lần cuối **2 tháng trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 2.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/show-posts-shortcode/)
 * Thẻ
 * [list](https://vi.wordpress.org/plugins/tags/list/)[posts](https://vi.wordpress.org/plugins/tags/posts/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/show-posts-shortcode/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/show-posts-shortcode/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/show-posts-shortcode/)