List posts or pages
wp_content_listList WordPress posts or pages with filters by status, type, author, tags, categories, and search; returns compact rows and excludes full content unless requested.
Instructions
List content with filters. Returns compact rows by default (no full content). Use wp_content_get for the body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| slug | No | Exact slug | |
| tags | No | ||
| type | No | post or page | post |
| order | No | ||
| author | No | ||
| parent | No | Parent ID (pages) | |
| search | No | Free-text search | |
| status | No | Post status filter | |
| orderby | No | ||
| per_page | No | ||
| categories | No | ||
| include_content | No | Include rendered content |