Media · Elementor

Slider/Carousel widget for Elementor

A general slider for images, text, or mixed slides. Use this for heroes; use Posts Grid for post queries.

Open live demo

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

A general slider for images, text, or mixed slides. Use this for heroes; use Posts Grid for post queries.

render() writes HTML data attributes: data-slick, data-slide-effect, data-video-autoplay, data-video-btn-size, data-video-controls, data-video-loop, data-video-mute, data-video-src.

Some inspector controls are marked Pro in PHP (eicon-pro-icon / king-addons-pro-control). Those need King Addons Pro, not Elementor Pro.

The widget script reads data attributes: data-slide-effect, data-video-autoplay, data-video-controls, data-video-loop, data-video-mute, data-video-src.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “Slider/Carousel”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Content Type”, “Image”, “Size”, “Link Type”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Slider/Carousel.

Inspector controls from this widget’s PHP

ControlWhat the code does
slider_items — Content TypeSelect inspector control (`slider_content_type`).
slider_items (Background) — ImageMedia Library attachment(s); render() uses the URL/ID as the image source.
slider_items (Background) — SizeWrites CSS `background-size` onto the widget’s front-end markup. Options: Cover; Contain; Auto.
slider_items (Background) — Link TypeOptions: None; Custom URL (Pro); Youtube (Pro); Vimeo (Pro); Custom Video (Pro).
slider_items (Background) — Slider Item Bg Image UrlElementor URL control (href, new tab, nofollow) applied to a front-end link.
slider_items (Background) — Choose FileMedia Library attachment(s); render() uses the URL/ID as the image source.
slider_items (Background) — Video URLText inspector control (`slider_item_video_src`).
slider_items (Background) — AutoplaySwitcher inspector control (`slider_item_video_autoplay`).
slider_items (Background) — LoopSwitcher inspector control (`slider_item_video_loop`).
slider_items (Background) — MuteSwitcher inspector control (`slider_item_video_mute`).
slider_items (Background) — ControlsSwitcher inspector control (`slider_item_video_controls`).
slider_items (Background) — Start TimeSpecify a start time (in seconds).
slider_items (Background) — End TimeSpecify an end time (in seconds).
slider_items (Background) — Ken Burn Effect (Pro)Switcher inspector control (`slider_item_bg_kenburns`).
slider_items (Background) — Background OverlaySwitcher inspector control (`slider_item_overlay`).
slider_items (Background) — ColorWrites CSS `background-color` onto the widget’s front-end markup.
slider_items (Background) — Blend ModeWrites CSS `mix-blend-mode` onto the widget’s front-end markup. Options: Normal; Multiply; Screen; Overlay; Darken; Lighten; Color-dodge; Color-burn….
slider_items (Content) — Show Sldier ContentSwitcher inspector control (`slider_show_content`).
slider_items (Content) — Title HTML TagThe chosen value is read in render() and applied on the front end. Options: H1; H2; H3; H4; H5; H6.
slider_items (Content) — TitleText inspector control (`slider_item_title`).
slider_items (Content) — Sub Title HTML TagThe chosen value is read in render() and applied on the front end. Options: H1; H2; H3; H4; H5; H6.
slider_items (Content) — Sub TitleText inspector control (`slider_item_sub_title`).
slider_items (Content) — DescriptionTextarea inspector control (`slider_item_description`).
slider_items (Content) — Button PrimarySwitcher inspector control (`slider_item_btn_1`).
slider_items (Content) — TextText inspector control (`slider_item_btn_text_1`).
slider_items (Content) — Select IconIcon rendered with Elementor Icons_Manager in this widget’s HTML.
slider_items (Content) — LinkElementor URL control (href, new tab, nofollow) applied to a front-end link.
slider_items (Content) — Button SecondarySwitcher inspector control (`slider_item_btn_2`).
slider_items (Content) — Text (Slider Item Btn Text 2)Text inspector control (`slider_item_btn_text_2`).
slider_items (Content) — Select Icon (Slider Item Btn Icon 2)Icon rendered with Elementor Icons_Manager in this widget’s HTML.
slider_items (Content) — Link (Slider Item Btn Url 2)Elementor URL control (href, new tab, nofollow) applied to a front-end link.
Slides — Slider ItemsRepeater rows; render() loops each item to build the list or slides.
Settings — Image SizeElementor image-size group (thumbnail, medium, large, full, custom).
Settings — Media TypeSelects the value used for the featured image. Options: Background; Image.
Settings — HeightWrites CSS `height` onto the widget’s front-end markup. (min 20, max 1500).
Settings — Columns (Carousel)The chosen value is read in render() and applied on the front end. Options: One; Two; Three (Pro); Four (Pro); Five (Pro); Six (Pro).
Settings — Slides to ScrollNumeric control (default 1, min 1, max 2).
Settings — GutterWrites CSS `margin-left` onto the widget’s front-end markup. (min 0, max 300).
Settings — TitleSwitcher inspector control (`slider_title`).
Settings — Title HTML TagThe chosen value is read in render() and applied on the front end. Options: H1; H2; H3; H4; H5; H6.
Settings — Sub TitleSwitcher inspector control (`slider_sub_title`).
Settings — Sub Title HTML TagThe chosen value is read in render() and applied on the front end. Options: H1; H2; H3; H4; H5; H6.
Settings — DescriptionPassed through to the post excerpt.
Settings — NavigationSwitcher inspector control (`slider_nav`).
Settings — Show on Hover (Pro)Switcher inspector control (`slider_nav_hover`).
Settings — Select IconSelects the value used for prev/next carousel arrows. Options: Angle; Angle Double; Arrow; Arrow Circle; Arrow Circle Alt; Long Arrow; Chevron.
Settings — PaginationSwitcher inspector control (`slider_dots`).
Settings — Pagination LayoutOptions: Horizontal; Vertical (Pro).
Settings — Scroll to Section Button (Pro)When this switch is on, render() outputs the wrapped markup.
Settings — Autoplay (Pro)Passed through to Swiper autoplay.
Settings — Pause on Hover (Pro)Switcher inspector control (`pause_on_hover`).
Settings — Infinite LoopSwitcher inspector control (`slider_loop`).
Settings — EffectThe chosen value is read in render() and applied on the front end. Options: Slide; Sl Vertical (Pro); Fade.
Settings — Effect DurationNumeric value used in this widget’s render/JS (default 0.7, min 0, max 5).
Settings — Content AnimationAnimation picker; the chosen effect is applied on the front end.
Settings — Animation SizeThe chosen value is read in render() and applied on the front end. Options: Small; Medium; Large.
Settings — Animation DurationWrites CSS `transition-duration` onto the widget’s front-end markup. (default 1, min 0, max 5).
Slider Content — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Slider Content — Horizontal PositionOptions: Left; Center; Right.
Slider Content — Vertical PositionWrites CSS `vertical-align` onto the widget’s front-end markup. Options: Top; Middle; Bottom.
Slider Content — AlignmentWrites CSS `text-align` onto the widget’s front-end markup. Options: Left; Center; Right.
Slider Content — WidthWrites CSS `max-width` onto the widget’s front-end markup. (min 20, max 100).
Slider Content — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Title — ColorWrites CSS `color` onto the widget’s front-end markup.
Title — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Title — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-slider-title *`.
Title — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Title — MarginWrites CSS `margin` onto the widget’s front-end markup.
Sub Title — ColorWrites CSS `color` onto the widget’s front-end markup.
Sub Title — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Sub Title — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-slider-sub-title *`.
Sub Title — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Sub Title — MarginWrites CSS `margin` onto the widget’s front-end markup.
Description — ColorWrites CSS `color` onto the widget’s front-end markup.
Description — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Description — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-slider-description p`.
Description — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Description — MarginWrites CSS `margin` onto the widget’s front-end markup.
Button Primary (Normal) — BackgroundElementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} .king-addons-slider-primary-btn`.
Button Primary (Normal) — Text ColorWrites CSS (color, fill) onto the widget’s front-end markup.
Button Primary (Normal) — Border ColorWrites CSS `border-color` onto the widget’s front-end markup.
Button Primary (Normal) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-slider-primary-btn`.
Button Primary (Hover) — BackgroundElementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} .king-addons-slider-primary-btn:hover`.
Button Primary (Hover) — Text ColorWrites CSS (king-addons-slider-primary-btn, color, fill) onto the widget’s front-end markup.
Button Primary (Hover) — Border ColorWrites CSS (king-addons-slider-primary-btn, border-color) onto the widget’s front-end markup.
Button Primary (Hover) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-slider-primary-btn:hover`.
Button Primary — Transition Duration (seconds)Writes CSS `transition-duration` onto the widget’s front-end markup. (default 0.1, min 0, max 5).
Button Primary — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-slider-primary-btn`.
Button Primary — Icon SizeWrites CSS (font-size, width, height) onto the widget’s front-end markup. (min 5, max 30).
Button Primary — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Button Primary — MarginWrites CSS `margin` onto the widget’s front-end markup.
Button Primary — Border TypeWrites CSS `border-style` onto the widget’s front-end markup. Options: None; Solid; Double; Dotted; Dashed; Groove.
Button Primary — Border WidthWrites CSS `border-width` onto the widget’s front-end markup.
Button Primary — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Button Secondary (Normal) — BackgroundElementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} .king-addons-slider-secondary-btn`.
Button Secondary (Normal) — Text ColorWrites CSS (color, fill) onto the widget’s front-end markup.
Button Secondary (Normal) — Border ColorWrites CSS `border-color` onto the widget’s front-end markup.
Button Secondary (Normal) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-slider-secondary-btn`.
Button Secondary (Hover) — BackgroundElementor background group: classic color/image or gradient on the selector. Selector: `{{WRAPPER}} .king-addons-slider-secondary-btn:hover`.
Button Secondary (Hover) — Text ColorWrites CSS (king-addons-slider-secondary-btn, color, fill) onto the widget’s front-end markup.
Button Secondary (Hover) — Border ColorWrites CSS (king-addons-slider-secondary-btn, border-color) onto the widget’s front-end markup.
Button Secondary (Hover) — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-slider-secondary-btn:hover`.
Button Secondary — Transition Duration (seconds)Writes CSS `transition-duration` onto the widget’s front-end markup. (default 0.1, min 0, max 5).
Button Secondary — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-slider-secondary-btn`.
Button Secondary — Icon SizeWrites CSS (font-size, width, height) onto the widget’s front-end markup. (min 5, max 30).
Button Secondary — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Button Secondary — MarginWrites CSS `margin` onto the widget’s front-end markup.
Button Secondary — Border TypeWrites CSS `border-style` onto the widget’s front-end markup. Options: None; Solid; Double; Dotted; Dashed; Groove.
Button Secondary — Border WidthWrites CSS `border-width` onto the widget’s front-end markup.
Button Secondary — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Video Icon — Video Icon SizeThe chosen value is read in render() and applied on the front end. Options: None; Small; Medium; Large.
Video Icon — Text ColorWrites CSS (color, border-color) onto the widget’s front-end markup.
Navigation (Normal) — ColorWrites CSS (color, fill) onto the widget’s front-end markup.
Navigation (Normal) — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Navigation (Normal) — Border ColorWrites CSS `border-color` onto the widget’s front-end markup.
Navigation (Hover) — ColorWrites CSS (king-addons-slider-arrow, color, fill) onto the widget’s front-end markup.
Navigation (Hover) — Background ColorWrites CSS (king-addons-slider-arrow, background-color) onto the widget’s front-end markup.
Navigation (Hover) — Border ColorWrites CSS (king-addons-slider-arrow, border-color) onto the widget’s front-end markup.
Navigation — Transition Duration (seconds)Writes CSS `transition-duration` onto the widget’s front-end markup. (default 0.1, min 0, max 5).
Navigation — Font SizeWrites CSS (font-size, width) onto the widget’s front-end markup. (min 10, max 200).
Navigation — Box SizeWrites CSS (width, height) onto the widget’s front-end markup. (min 10, max 200).
Navigation — Border TypeWrites CSS `border-style` onto the widget’s front-end markup. Options: None; Solid; Double; Dotted; Dashed; Groove.
Navigation — Border WidthWrites CSS `border-width` onto the widget’s front-end markup.
Navigation — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Pagination (Normal) — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Pagination (Normal) — Border ColorWrites CSS `border-color` onto the widget’s front-end markup.
Pagination (Active) — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Pagination (Active) — Border ColorWrites CSS `border-color` onto the widget’s front-end markup.
Pagination — Box WidthWrites CSS `width` onto the widget’s front-end markup. (min 1, max 100).
Pagination — Box HeightWrites CSS `height` onto the widget’s front-end markup. (min 1, max 100).
Pagination — Border TypeWrites CSS `border-style` onto the widget’s front-end markup. Options: None; Solid; Double; Dotted; Dashed; Groove.
Pagination — Border WidthWrites CSS `border-width` onto the widget’s front-end markup.
Pagination — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Pagination — GutterWrites CSS (margin-right, margin-bottom) onto the widget’s front-end markup. (min 0, max 50).
Pagination — Vertical PositionWrites CSS `top` onto the widget’s front-end markup. (min -20, max 120).

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

Which Slider/Carousel options need King Addons Pro?

Controls marked with the Pro icon in this widget’s PHP. King Addons Pro is a separate license from Elementor Pro.

How do I add Slider/Carousel in Elementor?

Install King Addons and Elementor, edit a page, search the panel for “Slider/Carousel”, drag it onto the canvas, then set Content and Style.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related media widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Slider/Carousel after you activate it.

Get King Addons