List posts / pages / custom content
wp_list_contentFind and filter content across post types by status, author, category, tag, or search term. Returns brief summaries; use a separate call for full content.
Instructions
List content of any post type with filters and search. Returns compact summaries, not full bodies — call wp_get_content for the full text of one item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| site | No | Configured site name. Omit to use the default site. | |
| slug | No | Find by exact slug. | |
| tags | No | Comma-separated tag IDs. | |
| order | No | ||
| author | No | ||
| parent | No | Only children of this ID. | |
| search | No | Free-text search. | |
| status | No | Comma-separated statuses: publish, draft, pending, private, future, trash, or 'any'. | |
| orderby | No | date, title, modified, menu_order, id | |
| per_page | No | ||
| post_type | No | Post type slug, e.g. post, page, or a custom type. | post |
| categories | No | Comma-separated category IDs. |