create_post
Create a WordPress post with configurable title, content, date, status, and more. Supports HTML formatting and scheduling.
Instructions
Create a post in WordPress site.
Use HTML tags to format the content, for example, Bold Text for bold text. By default, the post will be created as a draft. Do NOT set status to publish unless it is confirmed by the user.
Date must be ISO 8601 format. Future dates will schedule the post.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO 8601 date string for publishing - default: None | |
| slug | No | URL slug for the post - default: None | |
| tags | No | Comma-separated list of tag IDs - default: None | |
| title | No | The title of the post - default: empty | |
| format | No | Post format - default: standard | standard |
| status | No | Status of the post - default: draft | draft |
| sticky | No | Whether the post is sticky - default: false | |
| content | No | The content of the post (use HTML tags for formatting) - default: empty | |
| excerpt | No | Post excerpt - default: None | |
| password | No | Password for the post - default: None | |
| author_id | No | ID of the author - default: None | |
| categories | No | Comma-separated list of category IDs - default: None | |
| ping_status | No | Ping status - default: open | open |
| comment_status | No | Comment status - default: open | open |
| featured_media | No | ID of featured media file - default: None |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||