Tabs Tours is a WordPress ability from The Plus Addons for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Tabs Tours

Write

Adds the The Plus "Tabs Tours" widget (tp-tabs-tours) to an Elementor container, displaying a horizontal or vertical tabbed content layout.

Requires the The Plus Addons for Elementor plugin (which registers under the 'tpae' ability category) on WordPress 6.9+, with Elementor active. Every ability requires the current user to have the 'edit_posts' capability (and 'edit_post' for the specific post being modified); abilities that create or edit content also verify Elementor and, where relevant, the target The Plus widget are available. A subset of abilities (theme templates, template conditions, dynamic tags, popups, and some custom-code abilities) only register when Elementor Pro is active, and many widget abilities load only in the free plugin when the Pro add-on is inactive.

What it does

The execute_callback tpae_mcp_add_theplus_tabs_tours_ability checks Elementor is active and the tp-tabs-tours widget is registered, requires post_id and parent_id, and confirms the target post exists. It loads the post's Elementor element tree, builds settings from tabs_type, tabs_align_horizontal, tabs_align_vertical (sanitize_key) and a tabs array mapping each item's tab_title (sanitize_text_field) and tab_content (wp_kses_post) with a generated random _id, merges in any raw settings, and constructs a new widget element with widgetType tp-tabs-tours. It inserts the widget into the parent container at the given position and saves the Elementor data, returning an error if the parent is not found.

See it in action

You ask your AI assistant

"Add a vertical tabs widget with tabs for 'Features', 'Pricing', and 'FAQ' to this section."

Inputs

Name Type Required Description
post_id integer Yes Elementor page/post ID
parent_id string Yes Target Elementor container ID
position integer No Insert position. Use -1 to append.
tabs_type string No Tab navigation layout orientation (horizontal, vertical)
tabs_align_horizontal string No Tab position for horizontal layout (top, bottom)
tabs_align_vertical string No Tab position for vertical layout (left, right)
tabs array No Array of tab items; each item has tab_title (Tab heading label) and tab_content (Tab body HTML content)
settings object No Raw Elementor/The Plus control settings to merge into the widget at creation time. Use control keys from sprout/get-theplus-widget-schema.

Returns

Returns the new element_id, the widget_type (tp-tabs-tours), and the post_id the widget was added to.

Permission

Requires the current user to have the edit_posts capability, and if a post_id is supplied, also requires edit_post capability for that specific post.

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.