Move Element is a WordPress ability from The Plus Addons for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Move Element

Write

Moves an existing Elementor element to a new parent container or position on the same page.

Requires the The Plus Addons for Elementor plugin (which registers under the 'tpae' ability category) on WordPress 6.9+, with Elementor active. Every ability requires the current user to have the 'edit_posts' capability (and 'edit_post' for the specific post being modified); abilities that create or edit content also verify Elementor and, where relevant, the target The Plus widget are available. A subset of abilities (theme templates, template conditions, dynamic tags, popups, and some custom-code abilities) only register when Elementor Pro is active, and many widget abilities load only in the free plugin when the Pro add-on is inactive.

What it does

This ability finds the element by element_id, removes it from its current location in the page's element tree, then re-inserts it either at the top level (when target_parent_id is empty) or inside the given target_parent_id container at the requested position. It saves the updated page data and returns a success flag. It returns a WP_Error if the element or target parent cannot be found, or if removal/insertion fails.

See it in action

You ask your AI assistant

"Move element xyz789 on page 42 into container def456 at position 0."

Inputs

Name Type Required Description
post_id integer Yes Elementor page/post ID.
element_id string Yes The ID of the element to move.
target_parent_id string Yes The container ID to move the element into. Empty string moves it to the top level.
position integer Yes Insert position within the target parent. Use -1 to append. Defaults to -1.

Returns

An object with a success boolean indicating whether the move completed.

Permission

Requires the current user to have the 'edit_posts' capability, and if a post_id is supplied, also 'edit_post' capability for that specific post.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.