跳到内容

Authors Posts Widget

v2.0.5

Fahad Mahmood · 2013年11月21日 上架

Show posts grouped by author in a clean, collapsible, accessible list. Works as a block, a widget and a shortcode.

正在使用
80+
评分
5.0 / 5
累计下载
9,775
最近更新
2026年11月14日
2 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

截图

The Authors Posts block with its settings in the editor.
The Authors Posts block with its settings in the editor.
The widget in a sidebar with one author expanded.
The widget in a sidebar with one author expanded.

Authors Posts Widget lists your authors and their latest posts in a tidy, collapsible list that works in sidebars, footers, pages and posts. Visitors open an author to see what they have written, with no page reload.

Version 2 is a full rebuild for modern WordPress: a Gutenberg block, a shortcode, the classic widget, faster queries, caching, better accessibility and tighter security.

Features

  • Three ways to use it: block, widget (classic and block widget areas) and the [authors_posts] shortcode.
  • Collapsible authors built on native HTML <details>: keyboard friendly, screen-reader friendly and works even when JavaScript is blocked.
  • Control what is shown: posts per author, excerpts (with length), avatars, post counts, post dates, “View all posts” archive link, expand the first author by default.
  • Order and filter: order authors by name or by number of posts, exclude authors by ID.
  • Fast: one small set of queries per list, cached automatically and refreshed when posts or users change. Styles load only on pages that show a list.
  • Looks right in your theme: colors inherit from the theme (light, dark, block themes), RTL ready, optional link color.
  • Secure by default: every input is validated, every output escaped, password-protected excerpts are never shown and only public display names are used.
  • Translation ready.

Shortcode

[authors_posts number="3" display_excerpt="true" orderby="post_count" order="DESC"]

Attributes: number, orderby (name, post_count), order (ASC, DESC), exclude, max_authors, display_excerpt, excerpt_length, show_avatar, avatar_size, show_count, show_date, link_author, open_first.

Developers

The list is built from clean filters and actions (for example apw_default_args, apw_query_args, apw_users_args, apw_author_data, apw_post_data, apw_cache_ttl, apw_max_posts_per_author). Cached lists can be cleared from Settings > Authors Posts Widget.

Pro

A Pro add-on is available with accordion and card layouts, live author search, post thumbnails, author bios, post type and category filters, role filters and a “Load more” button. See Settings > Authors Posts Widget > Pro for details.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums