Carousel Anything 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 →Carousel Anything
WriteAdds the The Plus "Carousel Anything" widget (tp-carousel-anything) to an Elementor container.
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_carousel_anything_ability() reads the target post's Elementor page data, builds a widget element of type tp-carousel-anything from the mapped input settings (slide content/template source, carousel_content items, slider direction/speed/animation, autoplay, dots/arrows styling, center mode, and responsive tablet/mobile options), inserts it into the specified parent container at the requested position, and saves the updated Elementor data back to the post. It requires Elementor to be active and the tp-carousel-anything widget to be registered, and requires non-empty post_id and parent_id, with the target post existing.
See it in action
You ask your AI assistant
"Add a Carousel Anything widget to container gallery-slot on page 20 with autoplay enabled and dots style-2."
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. |
| tab_title | string | No | Title |
| content_template_type | string | No | Content Type (enum: dropdown, manually) |
| content_template | string | No | content_template |
| content_template_id | string | No | Enter Elementor Template Shortcode |
| carousel_content | array | No | carousel_content |
| slide_random_order | string | No | slide_random_order (enum: yes, no) |
| tab_content_options | string | No | tab_content_options |
| slide_overflow_hidden | string | No | Overflow Hidden (enum: yes, no) |
| carousel_unique_id | string | No | Unique Carousel ID |
| slider_direction | string | No | Slider Mode (enum: horizontal, vertical) |
| vertical_direction | string | No | vertical_direction |
| carousel_direction | string | No | Slide Direction (enum: ltr, rtl) |
| slide_speed | object | No | Slide Speed (Slider/Size Object) |
| slide_fade_inout | string | No | Slide Animation |
| slider_animation | string | No | Animation Type (enum: ease, linear) |
| Slider_animation_effect | string | No | Slider_animation_effect |
| slider_desktop_column | string | No | slider_desktop_column (enum: 1) |
| steps_slide | string | No | Next Previous (enum: 1, 2) |
| slider_padding | object | No | Slide Padding (Dimensions Object) |
| slider_draggable | string | No | Draggable (enum: yes, no) |
| multi_drag | string | No | Multi Drag (enum: yes, no) |
| slider_infinite | string | No | slider_infinite (enum: yes, no) |
| infinite_mode_options | string | No | infinite_mode_options |
| slider_pause_hover | string | No | slider_pause_hover (enum: yes, no) |
| pause_hover_option | string | No | pause_hover_option |
| slider_adaptive_height | string | No | Adaptive Height (enum: yes, no) |
| slider_autoplay | string | No | slider_autoplay (enum: yes, no) |
| autoplay_options | string | No | autoplay_options |
| slider_dots | string | No | slider_dots (enum: yes, no) |
| slider_dots_style | string | No | Dots Style (enum: slider_dots, style-1..style-7) |
| dot_style | string | No | dot_style |
| slick_dots_size | object | No | Size (Slider/Size Object) |
| dots_border_color | string | No | Dots Border Color (Color Hex/RGBA) |
| dots_top_padding | object | No | Dots Top Padding (Slider/Size Object) |
| overlay_content_dots | string | No | Overlay Content Dots (enum: yes, no) |
| direction_dots | string | No | direction_dots (enum: yes, no) |
| direction_dots_option | string | No | direction_dots_option |
| hover_show_dots | string | No | hover_show_dots (enum: yes, no) |
| hover_dots_option | string | No | hover_dots_option |
| slider_arrows | string | No | slider_arrows (enum: yes, no) |
| slider_arrows_style | string | No | Arrows Style (enum: slider_arrows, style-1..style-6) |
| arrow_style | string | No | arrow_style |
| arrow_bg_color | string | No | Arrow Background Color (Color Hex/RGBA) |
| arrow_icon_color | string | No | Arrow Icon Color (Color Hex/RGBA) |
| arrow_hover_bg_color | string | No | Arrow Hover Background Color (Color Hex/RGBA) |
| arrow_hover_icon_color | string | No | Arrow Hover Icon Color (Color Hex/RGBA) |
| outer_section_arrow | string | No | outer_section_arrow (enum: yes, no) |
| outer_content_arrow | string | No | outer_content_arrow |
| hover_show_arrow | string | No | hover_show_arrow (enum: yes, no) |
| show_arrow_style | string | No | show_arrow_style |
| slider_center_mode | string | No | slider_center_mode (enum: yes, no) |
| center_mode_effect | string | No | center_mode_effect |
| slide_row_top_space | object | No | Row Top Space (Slider/Size Object) |
| tab_carousel_tablet_options | string | No | tab_carousel_tablet_options |
| tab_carousel_mobile_options | string | No | tab_carousel_mobile_options |
| settings | object | No | Raw Elementor control key/value pairs to merge. Supports multi-source template injection, kinetic autoplay orchestration, and responsive hardware-accelerated physics. |
Returns
Returns element_id (string), widget_type (string), and post_id (integer) of the created widget.
Permission
Requires the current user to have the edit_posts capability, and if a post_id is provided, also requires edit_post capability on that specific post.
More The Plus Addons for Elementor abilities
Accordion
Adds The Plus Addons "Accordion" widget (tp-accordion) to an Elementor container.
Add Code Snippet
Creates a site-wide Custom Code snippet using Elementor Pro, injecting CSS/JS/meta into the head or body on all pages.
Add Container
Adds a new Elementor flex container to a page or nests it inside another existing container.
Add Container
Adds a flex or grid container to a page, optionally nested inside a parent container.
Add Custom CSS
Adds custom CSS to a specific element or to the entire page (requires Elementor Pro).
Add Custom JavaScript
Adds a custom JavaScript snippet to a page by inserting an HTML widget containing a <script> tag; works with free Elementor.