Create 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 →

Create ElementsKit template

Write

Create a new ElementsKit header, footer, or section template, optionally seeded with an Elementor element tree.

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

This ability creates a new elementskit_template post of the given type (header, footer, or section; default section), setting its activation flag, its display condition (for header/footer types), the Elementor Canvas page template, and builder edit mode meta, then optionally saves a supplied elements tree as its content. It returns the new template's id, type, and an edit_url, noting in the response that the result is an elementskit_template post — not a WordPress page — and should be opened with ElementsKit's own editor tooling rather than a generic page editor. It errors if Elementor isn't active, the type isn't one of the three allowed values, or the caller lacks 'manage_options'.

See it in action

You ask your AI assistant

"Create a new footer template called 'Dark Footer' that's not yet activated."

Inputs

Name Type Required Description
title string No Template title.
type string No "header", "footer", or "section". Defaults to "section".
activation string No "yes" or "no". Defaults to "no".
condition string No Display condition for header/footer templates.
elements array No Optional Elementor element tree to seed with.

Returns

An object with success, id, type, edit_url, and a note clarifying it's an elementskit_template post, not a WordPress page.

Permission

Requires the 'manage_options' capability.

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.