Available on requestUtilities· Elementor

Custom Accordion Slider

A lightweight accordion slider widget for Elementor. Responsive tabbed content with smooth transitions.

FREEv1.0.0

Why it exists

Elementor ships an accordion widget, and for most pages it is enough. The trouble starts when it is not. The moment you need tabbed content that behaves like a slider — panels that expand in place, transition smoothly and reflow properly on a phone — the usual answer is to install a widget pack. You wanted one widget. You get forty, plus their stylesheet, plus their script, plus their upsell notices in your admin.

Custom Accordion Slider is the other option. It registers a single Elementor widget called Accordion Slider and does nothing else. No dashboard, no settings page, no telemetry, no licence prompt. If you remove it, the only thing that disappears is the widget.

That narrowness is the point. On a site where you are already fighting page weight, adding a bundle to get one component is a bad trade, and it is a trade a lot of Elementor builds make without noticing.

What it does

A single Elementor widget — Accordion Slider, under the General category
Repeater field for panels: each entry is one tab with a title and a content area
Reorder panels by dragging, inside Elementor's normal editing panel
Active panel expands in place while the others collapse, with an animated transition
Responsive layout by default
Works with both free Elementor and Elementor Pro
Styling via a plain stylesheet at assets/styles/accordion-slider.css
Deliberately plain markup, so overriding it is not a specificity fight
No settings screen, no telemetry, no licence prompt
No build step and no request to any remote server

Why it matters

Everything is edited inside Elementor's normal interface, so there is nothing new to learn, and the whole plugin is two PHP files and an assets directory. That is why it adds so little to a page — which is the entire reason to choose it over a widget pack that registers forty widgets to give you one.

How it works

The plugin hooks into Elementor's widget registration and adds one widget class, defined in widget-accordion-slider.php. When Elementor renders a page containing the widget, it outputs the tab markup and enqueues the plugin's stylesheet and script. The script handles the expand and collapse behaviour and the animation timing; the stylesheet handles layout and the transition.

There is no build step, no external dependency and no request to any remote server. The whole plugin is two PHP files and an assets directory, which is why it adds so little to a page.

To use it: install and activate, edit any page with Elementor, search the widget panel for "Accordion Slider", and drag it in. The widget sits under Elementor's General category.

Requirements and limits

WordPress5.0 or higher (tested to 6.7)
PHP7.2 or higher
  • Elementor, free or Pro — the widget will not appear without it
  • Licensed GPLv2 or later

What it does not do

This is version 1.0.0 and the scope is deliberately narrow. There is no settings screen, so global defaults are not configurable — styling changes happen in CSS. There is no Gutenberg block equivalent, so this is Elementor-only.

Content is entered per widget instance rather than pulled from posts or a custom post type, which makes it a good fit for a handful of curated panels on a landing page and a poor fit for rendering a large dynamic archive.

If you need dynamic content sources, nested accordions, or per-instance style controls in the Elementor panel, this widget does not do those things today.

When it fits, and when it does not

It fits when you have a fixed set of panels that a person will edit occasionally: a features section, a set of service descriptions, delivery and returns information on a product page, a short FAQ block. The content is curated, the count is small, and somebody wants to edit it in Elementor without touching code.

It does not fit when the content should come from somewhere else. If the panels ought to be generated from posts, products or a custom post type, you want a dynamic widget, and forcing this one into that role means somebody re-enters the same content in two places and they drift apart within a month.

It also does not fit if you need heavy per-instance styling variation. Because styling lives in CSS rather than Elementor controls, ten instances styled ten different ways means ten sets of overrides. One consistent treatment across the site is what this is built for.

A practical note on overriding styles: target the plugin's classes from your theme stylesheet or Elementor's custom CSS rather than editing assets/styles/accordion-slider.css directly. Editing the plugin file works, but the change is lost the next time you update the plugin. Overriding from the theme survives updates.

Frequently asked questions

Do I need Elementor?

Yes. The plugin registers an Elementor widget and does nothing on its own. Free Elementor is sufficient; Pro is not required.

Does it work with Elementor Pro?

Yes, both free and Pro.

Can I change how it looks?

Yes, in CSS. Edit assets/styles/accordion-slider.css or override the classes from your theme. There are no style controls in the Elementor panel in this version.

Where does the widget appear?

Under the General category in the Elementor widget panel, listed as Accordion Slider.

How do I get it?

It is free and available on request. It is not in the WordPress.org directory — ask through the contact form and we will send you the current release.

Interested in Custom Accordion Slider?

Tell us about your site and we will send you a build or quote the work.