wp_search_site
Search across posts, pages, and media on a WordPress site using a search term. Returns comprehensive results with metadata.
Instructions
Performs a site-wide search for content across posts, pages, and media with comprehensive results and metadata.
Usage Examples:
• Search everything: wp_search_site --term="WordPress"
• Search posts only: wp_search_site --term="tutorial" --type="posts"
• Search pages: wp_search_site --term="about" --type="pages"
• Search media: wp_search_site --term="logo" --type="media"
• Find specific content: wp_search_site --term="contact form"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| term | Yes | The search term to look for. | |
| type | No | The type of content to search. |