create_page
Create a new WordPress page with Elementor data, specifying title, status, content, and required JSON-formatted Elementor data, returning the page ID upon success.
Instructions
Creates a new page in WordPress with Elementor data, it will return the created page ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | No | The standard WordPress content for the page (optional). | |
elementor_data | Yes | The Elementor page data as a JSON string (required for create). | |
status | No | The status for the page (e.g., 'publish', 'draft'). Defaults to 'draft' on create. | |
title | Yes | The title for the new page (required). |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "The standard WordPress content for the page (optional).",
"type": "string"
},
"elementor_data": {
"description": "The Elementor page data as a JSON string (required for create).",
"type": "string"
},
"status": {
"description": "The status for the page (e.g., 'publish', 'draft'). Defaults to 'draft' on create.",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"type": "string"
},
"title": {
"description": "The title for the new page (required).",
"type": "string"
}
},
"required": [
"title",
"elementor_data"
],
"type": "object"
}