Title: Postrix &#8211; Recent Posts Widget
Author: Sandeep Avasthi
Published: <strong>2026 年 7 月 21 日</strong>
Last modified: 2026 年 7 月 21 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-boost.svg)

# Postrix – Recent Posts Widget

 作者：[Sandeep Avasthi](https://profiles.wordpress.org/sandya0110/)

[下载](https://downloads.wordpress.org/plugin/recent-posts-widget-boost.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/recent-posts-widget-boost/#description)
 * [评价](https://cn.wordpress.org/plugins/recent-posts-widget-boost/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/recent-posts-widget-boost/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/recent-posts-widget-boost/#developers)

 [支持](https://wordpress.org/support/plugin/recent-posts-widget-boost/)

## 描述

Postrix lets you display a filtered list of recent posts anywhere on your site: 
in a sidebar widget, as a Gutenberg block, or via shortcode.

**Filters**

 * Post Type — posts, pages, or any public custom post type
 * Category — include or exclude by category ID
 * Tag — include or exclude by tag ID
 * Author — include or exclude by author ID
 * Order by date, random, or menu order

**Display options**

 * Number of posts and offset
 * Show/hide thumbnail, date, author, excerpt
 * Prioritize sticky posts
 * Automatically exclude the current post when viewing it

**Three ways to use it**

 * Classic widget (Appearance > Widgets)
 * Gutenberg block (“Postrix – Recent Posts Widget” in the block inserter, under
   Widgets)
 * Shortcode: `[postrix_recent_posts number="5" post_type="post" categories="3,12"]`

## 屏幕截图

[⌊Widget settings panel showing post type, category, tag, and author filters⌉⌊Widget
settings panel showing post type, category, tag, and author filters⌉[

Widget settings panel showing post type, category, tag, and author filters

## 安装

 1. Upload the `recent-posts-widget-boost` folder to the `/wp-content/plugins/` directory,
    or install the plugin directly through the WordPress plugin screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Add the “Postrix – Recent Posts Widget” widget from Appearance > Widgets, insert
    the “Postrix – Recent Posts Widget” block in the block editor, or add the `[postrix_recent_posts]`
    shortcode to a post or page.

## 常见问题

### Can I use this with a custom post type?

Yes. Any public post type registered on your site is available in the Post Type 
dropdown/field.

### How do I find category, tag, or author IDs?

Hover over the category/tag/author link in your WordPress admin list screens — the
ID appears in the URL (e.g. `tag_ID=12` or `cat=3`).

### Does the shortcode support all the same options as the widget?

Yes. All settings are available as shortcode attributes, e.g.:
 [postrix_recent_posts
number=”3″ show_excerpt=”true” categories=”4″ orderby=”rand”]

## 评价

![](https://secure.gravatar.com/avatar/ebd4ff6f22113e15c8a142b4caf542e4b621bb8d2d64fc1413bf72dd502ddd18?
s=60&d=retro&r=g)

### 󠀁[Perfect plugin for fetch recent posts including custom post type](https://wordpress.org/support/topic/perfect-plugin-for-fetch-recent-posts-including-custom-post-type/)󠁿

 [nikhilsyal09](https://profiles.wordpress.org/nikhilsyal09/) 2026 年 7 月 28 日

Best plugin for this role

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/)

## 贡献者及开发者

「Postrix – Recent Posts Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Sandeep Avasthi ](https://profiles.wordpress.org/sandya0110/)

[帮助将「Postrix – Recent Posts Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/recent-posts-widget-boost)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/recent-posts-widget-boost/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/recent-posts-widget-boost/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/recent-posts-widget-boost/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/recent-posts-widget-boost/)。

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.3 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/recent-posts-widget-boost/)
 * 标签
 * [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)[post list](https://cn.wordpress.org/plugins/tags/post-list/)
   [recent posts](https://cn.wordpress.org/plugins/tags/recent-posts/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/recent-posts-widget-boost/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/recent-posts-widget-boost/reviews/)

## 贡献者

 *   [ Sandeep Avasthi ](https://profiles.wordpress.org/sandya0110/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/recent-posts-widget-boost/)