List Posts
wp_list_postsList WordPress posts with optional filters. Returns title, status, date, excerpt, categories, and tags for each post.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| tags | No | Comma-separated tag IDs | |
| order | No | Sort order | |
| search | No | Search term to filter posts | |
| status | No | Filter by post status | |
| _fields | No | Comma-separated fields to return for lighter responses (e.g. "id,title,status,date,slug") | |
| orderby | No | Field to order by | |
| site_id | No | Site ID to target (optional if you have only one connected site) | |
| per_page | No | Number of posts to return (max 100, default 20) | |
| categories | No | Comma-separated category IDs |