| 开发者 | sajib1223 |
|---|---|
| 更新时间 | 2026年7月18日 13:17 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
[postlist id="123"] shortcode, or the classic widget.
What can you build?
[post_title], [post_permalink], [featured_image], [post_author_name] and [post_meta key="..."]. Start from a preset and tweak it, or write your own markup for pixel-perfect control. If you want a drag-and-drop visual builder, this plugin isn't that — it keeps you close to your own HTML, which is exactly why themes and developers like it.
See the full template tag reference and live examples with copy-paste templates.
Lightweight, independently measured
WP Hive independently measures W4 Post List at 19 KB memory usage and +0.05 s page-speed impact — better than 99% of the plugins they test. No bundled frameworks, no frontend bloat.
/wp-content/plugins/.[postlist id="123"] shortcode.Three ways: add the W4 Post List block and pick your list; paste the shortcode [postlist id="123"] into any content; or add the W4 Post List widget to a widget area. Each list's ID and ready-made shortcode are shown in the Shortcode column on the All Lists screen.
Create a Posts list, open the Posts: Tax Query section, and select your taxonomy and terms. You can combine multiple term filters, and filter by custom fields and dates the same way.
The usual causes, in order: the list is not Published yet; the shortcode ID doesn't match (check the Shortcode column on the All Lists screen); the template is missing its loop tags (a Posts list template needs [posts]...[/posts], Terms needs [terms]...[/terms], Users needs [users]...[/users]); or the query simply matched no items. Opening the list and re-checking the query options usually finds it.
Yes. Use [post_meta key="your_field_key"] inside the posts loop. Fields stored as plain values (text, numbers, URLs) work best; complex/serialized fields are output as stored.
Yes — that's this plugin's specialty. Set Group by to year, month, month + year, any taxonomy, author or parent, and the list renders grouped sections with headings. The core Query Loop block can't do this.
Yes. Use the Users list type (filter by role, order by name/registration date) or Users + Posts to show each user with their latest posts. Template tags cover avatars, display names, bios and profile URLs.
Yes. The W4 Post List block renders your list server-side with a live preview in the editor, and the shortcode works in classic editors, page builders and template files (echo do_shortcode( '[postlist id="123"]' );).
In your admin: W4 Post List → Documentation (template tags reference, examples, usage). Online: w4dev.com/docs/w4-post-list.