Linux 软件免费装
Banner图

W4 Post List

开发者 sajib1223
更新时间 2026年7月18日 13:17
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv3
版权网址: 版权信息

标签

shortcode post list post grid category list user list

下载

2.5.6 2.5.8 2.5.7 2.5.9 2.4.9.1 2.5.5 1.2.1 1.4.1 2.0 1.2.5 1.2.6 1.2.7 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.4.8 1.5.4 1.5.8 1.6 1.6.2 1.7 1.7.7 1.8.5 1.9.2 1.9.8 2.0.6 2.1.4 2.2.0 2.3.0 1.0 2.1.8 1.1 1.2 1.4 2.4.8 1.2.3 2.4.6 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4

详情介绍:

W4 Post List builds the lists that WordPress core still can't: posts grouped under year, month, category or author headings; category and term indexes; user directories; and combined 项目(Terms) + 文章设置 and 用户 + Posts lists. You control the output with a template of plain HTML and simple template tags, so the markup stays clean, semantic and completely yours. Place any list anywhere with the W4 Post List block, the [postlist id="123"] shortcode, or the classic widget. What can you build? Five list types Query options (Posts) Group results by Order results by Pagination Full control over the output Output is template-driven: every list has an HTML template with template tags like [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.

安装:

  1. Install from Plugins → Add New (search for "W4 Post List"), or upload the zip to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu.
  3. Find the W4 Post List menu (list icon) in your admin sidebar. Create a list, publish it, then place it on any page with the W4 Post List block or the [postlist id="123"] shortcode.

屏幕截图:

  • Front-end output — an AJAX-paginated post list, an image/media grid, and a year/month grouped archive.

升级注意事项:

2.5.9 Adds a Live Preview blueprint for the wordpress.org plugin page. No functional changes. 2.5.8 Documentation fixes: examples now copy-paste correctly, new Getting Started guide, docs visible to Editors. 2.5.7 Listing and documentation accuracy update — no functional changes.

常见问题:

How do I display a list?

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.

How do I list posts from a specific category?

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.

Why does my list show nothing on the page?

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.

Can I display custom fields (including ACF)?

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.

Can I group posts by year, category or author?

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.

Can I list users or build an author directory?

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.

Does it work with the block editor and block themes?

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"]' );).

Where is the documentation?

In your admin: W4 Post List → Documentation (template tags reference, examples, usage). Online: w4dev.com/docs/w4-post-list.

更新日志:

2.5.9 2.5.8 2.5.7 2.5.6 2.5.5 2.5.4 2.5.3 2.5.1