Import template from library 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 →

Import template from library

Write
ElementsKit Elementor Addons Page Builders elementskit/import-library-template

Import a ready-made Template Library template, section, or page into an 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 template_id from the Template Library (obtained via list-library-templates), this ability pulls that template's content into the target Elementor document and returns the ids of any newly inserted root elements plus a preview_url. This lets an AI assistant populate a page with a professionally designed section or full-page layout in one call instead of manually browsing and inserting library content through the editor.

See it in action

You ask your AI assistant

"Import the 'Agency Hero' library template into my new homepage."

Inputs

Name Type Required Description
post_id integer Yes Target Elementor document id.
template_id string Yes Library template id.

Returns

An object with success, post_id, template_id, inserted_root_ids (array), and preview_url.

Permission

Requires the 'edit_posts' capability and 'edit_post' on the target post_id.

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.