Elementor Carousel - Add a Slider Without Extra Plugins

Elementor has a built-in carousel widget, but it's Pro-only and limited in effects. Most free carousel plugins for Elementor are either bloated or push you to upgrade for basic features like autoplay or multiple slides.
Here's an alternative that works with both Elementor Free and Pro: add a lightweight CDN script and use either the HTML widget or custom attributes to build a carousel slider with touch support, 6 transition effects, and full control via HTML attributes. No extra plugins needed.
This guide uses the Swiper carousel from OneType Transforms. For the complete feature list, see the main carousel slider guide.
How to add a carousel slider in Elementor
Step 1: Add the script tag
The Swiper carousel is a premium transform. Get your script tag from transforms.onetype.ai/get-started after signing up.
Elementor Pro: Go to WordPress Dashboard > Elementor > Custom Code. Click Add New, paste the script tag, set Location to <body> - End, Priority to 1, Conditions to "Entire Site". Publish.
Elementor Free: Install the free WPCode plugin. Go to Code Snippets > Header & Footer, paste the script in the Header section, save.
<script src="https://cdn.transforms.onetype.ai/bundle/{YOUR-TOKEN}.js"></script>
Step 2: Add the carousel
Using the HTML widget (Free + Pro):
- Open any page in the Elementor editor
- Search for HTML in the widget panel
- Drag the HTML widget where you want the carousel
- Paste the carousel markup
<div ot="swiper" ot-navigation="true" ot-pagination="bullets">
<div><img src="slide-1.jpg" alt="Slide 1"></div>
<div><img src="slide-2.jpg" alt="Slide 2"></div>
<div><img src="slide-3.jpg" alt="Slide 3"></div>
</div>
Using custom attributes (Pro only):
Elementor Pro lets you add custom attributes to any element. Create a Container with child elements for your slides, then select the parent Container and go to Advanced > Attributes:
ot|swiper
ot-navigation|true
ot-pagination|bullets
ot-autoplay|true
ot-loop|true
Each attribute goes on a separate line using the key|value format. Preview the page to see the carousel in action - it won't show in the Elementor editor itself.
Carousel examples for Elementor
Image gallery with coverflow effect:
<div ot="swiper" ot-effect="coverflow" ot-slides-per-view="2" ot-centered="true" ot-loop="true" ot-grab-cursor="true">
<div><img src="photo-1.jpg" alt="Photo 1"></div>
<div><img src="photo-2.jpg" alt="Photo 2"></div>
<div><img src="photo-3.jpg" alt="Photo 3"></div>
<div><img src="photo-4.jpg" alt="Photo 4"></div>
<div><img src="photo-5.jpg" alt="Photo 5"></div>
</div>
Card carousel with multiple slides:
<div ot="swiper" ot-slides-per-view="3" ot-space-between="24" ot-navigation="true" ot-pagination="fraction">
<div class="card">Service 1</div>
<div class="card">Service 2</div>
<div class="card">Service 3</div>
<div class="card">Service 4</div>
</div>
Testimonial slider with autoplay:
<div ot="swiper" ot-effect="fade" ot-autoplay="true" ot-autoplay-delay="5000" ot-autoplay-pause="true" ot-pagination="bullets">
<div>"Excellent service, highly recommended." - Jane D.</div>
<div>"Transformed our website completely." - Tom S.</div>
<div>"Simple setup, powerful results." - Lisa M.</div>
</div>
Why not use an Elementor carousel plugin?
Elementor carousel plugins (Essential Addons, Premium Addons, Element Pack) bundle dozens of widgets you'll never use. Each adds JavaScript, CSS, and admin overhead to every page - even pages without carousels.
The OneType approach loads one script from a CDN with only the components you selected. No admin panel, no widget bloat, no plugin conflicts. And the same carousel works if you ever move away from Elementor to another platform.
Troubleshooting
Carousel doesn't render in the editor: This is expected. Custom HTML and external scripts only run on the live site. Click Preview to see the carousel working.
HTML widget only available for admins: By default, only Administrator roles can use the HTML widget in Elementor. If you need other users to add carousels, adjust the Role Manager settings in Elementor (Pro feature).
For the complete list of carousel options and effects, see the carousel slider guide. Check out all 24 transforms at transforms.onetype.ai.