Insert ElementsKit template is a WordPress ability from ElementsKit Elementor Addons — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Insert ElementsKit template
WriteCopy an existing ElementsKit template's element tree into another Elementor document.
Requires the ElementsKit Elementor Addons plugin (elementskit-lite) with Elementor active, on WordPress 6.9+ for the Abilities API (abilities are registered only when wp_register_ability() exists). Read-only listing abilities require 'edit_posts' (list-widgets, list-templates, list-library-templates), 'manage_options' (list-custom-widgets), or 'edit_theme_options' (list-mega-menus); write abilities that target a specific Elementor document (insert-widget, insert-template, import-library-template) require 'edit_posts' plus 'edit_post' on that document; template, header/footer, custom-widget, and mega-menu creation/configuration abilities require 'manage_options' (create-mega-menu additionally requires 'edit_theme_options'); create-page requires 'edit_pages' or 'edit_posts'.
What it does
Given a target post_id and a source template_id (an elementskit_template post), this ability loads the template's saved Elementor element tree, regenerates every element id to avoid collisions, and appends the copied nodes to the target document's root before saving. It errors if the template_id doesn't resolve to an elementskit_template post or has no Elementor content. This lets an AI assistant reuse a previously built header/footer/section template on a new page in one call instead of manually copy-pasting inside the editor.
See it in action
You ask your AI assistant
"Insert my 'Pricing Section' template (id 315) into the new page I just created."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| post_id | integer | Yes | Target Elementor document id. |
| template_id | integer | Yes | Source ElementsKit template id. |
Returns
An object with success, post_id, template_id, inserted_root_ids (array), preview_url, and version.
Permission
Requires the 'edit_posts' capability and 'edit_post' on the target post_id.
More ElementsKit Elementor Addons abilities
Create ElementsKit custom widget
Build or update a custom Elementor widget with the ElementsKit Widget Builder: title, icon, categories, markup, CSS, JS and control tabs.
Create ElementsKit header/footer
Create a header or footer template and activate it site-wide, optionally built from a ready-made Template Library template.
Create ElementsKit mega menu
One-shot mega menu creation: create or reuse a nav menu, add a top-level item, turn Mega Menu on, and configure that item's panel.
Create ElementsKit template
Create a new ElementsKit header, footer, or section template, optionally seeded with an Elementor element tree.
Create page with ElementsKit
Create a new Elementor-editable page or post, optionally seeded with an Elementor element tree of ElementsKit widgets.
Enable mega menu for a menu
Turn ElementsKit's Mega Menu feature on or off for an entire nav menu location.