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
WriteOne-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.
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 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.
Import template from library
Import a ready-made Template Library template, section, or page into an Elementor document.