insert_element
Add widgets like headings, images, or buttons to specific positions in WordPress Elementor sections or columns to build page layouts.
Instructions
Insert a widget element at a specific position within an existing column or section
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page ID | |
| parent_id | Yes | ID of the parent column or section to insert into | |
| position | No | Position index (0 = first, -1 = last). Default: -1 (append) | |
| widget_type | Yes | Type of widget to insert | |
| settings | No | Widget settings (varies by widget type). Examples: {title: "Hello"} for heading, {editor: "<p>Text</p>"} for text-editor, {image: {url: "..."}} for image, {text: "Click", link: {url: "#"}} for button |