Create ElementsKit mega menu 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 mega menu

Write

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.

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 chains together the full mega-menu setup in one call: it creates a new nav menu (named via menu_name) or reuses an existing one (menu_id), adds a top-level menu item with the given item_title and item_url (defaulting to '#'), switches Mega Menu on for that menu, and enables and configures the new item's panel — either filled from a Template Library template_id (defaulting to a built-in 'Mega Menu – Mens Fashion' section so the panel is never blank) or from a supplied elements tree. It returns the resulting menu_id, menu_item_id, menu_name, and a manage_url. This collapses what would otherwise be several separate ability calls into one, for an AI assistant asked to 'set up a mega menu' from scratch.

See it in action

You ask your AI assistant

"Set up a new mega menu called 'Shop' with a panel showing my 'Mega Menu – Mens Fashion' template."

Inputs

Name Type Required Description
menu_name string No Name for a new nav menu (used when menu_id is absent).
menu_id integer No Existing nav menu term id to add the item to.
item_title string No Label of the top-level item that opens the panel.
item_url string No Link for the item. Defaults to "#".
template_id string No ElementsKit Template Library id to fill the panel with (from list-library-templates).
settings object No Mega menu item settings (menu_icon, menu_badge_text, megamenu_width_type, ...).
elements array No Elementor element tree for the panel content (used when template_id is absent).

Returns

An object with success, menu_id, menu_item_id, menu_name, and manage_url.

Permission

Requires both the 'manage_options' and 'edit_theme_options' capabilities.

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.