Postrix – Recent Posts Widget
v1.0.0Sandeep Avasthi · 2026年7月21日 上架
Display recent posts filtered by post type, category, tag, or author — as a classic widget, Gutenberg block, or shortcode.
- 正在使用
- 10+
- 评分
- 5.0 / 5
- 累计下载
- 297
- 最近更新
- 2026年7月22日
1 条评价需要 WordPress 6.3+已测试到 7.0.9PHP 7.4+
贡献者
截图
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"]
