wp_list_posts
Retrieve a list of WordPress posts with filters for status, categories, tags, author, search term, and pagination.
Instructions
List WordPress posts with optional filters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per_page | No | Posts per page (max 100) | |
| page | No | Page number | |
| status | No | Post status filter | |
| search | No | Search term | |
| categories | No | Category ID(s), comma-separated | |
| tags | No | Tag ID(s), comma-separated | |
| author | No | Author ID | |
| orderby | No | date | |
| order | No | desc |