Title: Lexiata XSlider
Author: Suresh Lasantha
Published: <strong>🌻6️⃣ 28, 2026</strong>
Last modified: 🍂9️⃣ 27, 2026

---

Search plugins

![](https://ps.w.org/lexiata-xslider/assets/banner-772x250.png?rev=3588566)

![](https://ps.w.org/lexiata-xslider/assets/icon-256x256.png?rev=3588566)

# Lexiata XSlider

 By [Suresh Lasantha](https://profiles.wordpress.org/mrsureshlk/)

[Download](https://downloads.wordpress.org/plugin/lexiata-xslider.1.6.0.zip)

 * [Details](https://emoji.wordpress.org/plugins/lexiata-xslider/#description)
 * [Reviews](https://emoji.wordpress.org/plugins/lexiata-xslider/#reviews)
 *  [Installation](https://emoji.wordpress.org/plugins/lexiata-xslider/#installation)
 * [Development](https://emoji.wordpress.org/plugins/lexiata-xslider/#developers)

 [Support](https://wordpress.org/support/plugin/lexiata-xslider/)

## Description

**Lexiata XSlider** is a tiny, blazing-fast image slider plugin built from scratch.
Total footprint: about 300KB on disk, with a front-end payload of about 6KB gzipped(
CSS + JS combined). No bundled libraries, no jQuery on the front-end, no third-party
services.

**Why XSlider?**

Most slider plugins ship with hundreds of templates, layer animations, and features
you will never use — and your visitors pay for every kilobyte. XSlider keeps only
what you need:

 * Clean image sliders with optional click-through URLs
 * Horizontal, vertical, fade and zoom-fade animations
 * Autoplay, swipe/drag, keyboard navigation
 * Arrows + bullets, fully customisable
 * Responsive images (srcset) — phones download phone-sized files
 * SEO-friendly markup with proper alt text and ARIA roles
 * Lazy initialisation (the slider boots only when scrolled into view)
 * Style via CSS classes + the WordPress Customizer (Additional CSS)
 * Native Gutenberg block, Elementor widget, shortcode, and PHP function — insert
   a slider in any editor or builder

**Built for WordPress agencies and freelancers** by Suresh L. Bamunusinghe at [Lexiata.lk](https://lexiata.lk)—
battle-tested in production sites.

#### Key features

 * **Up to 8 settings tabs** — General, Size, Controls, Animations, Autoplay, Optimize,
   Slides, Developer
 * **Image and Blank slides** — Blank slides support a custom background colour
 * **Clickable URL per slide** — Set link, choose target tab, optional `nofollow`
 * **Drag-to-reorder** slides in the editor (mouse, touch or keyboard)
 * **Duplicate** a slide or a whole slider with one click
 * **Live preview** in the slide editor
 * **Click-to-copy** shortcode and PHP code
 * **Accessible** — keyboard navigation, ARIA roles, focus rings, pauses for keyboard
   users and reduced-motion visitors
 * **Mobile, tablet, desktop** arrow visibility controls
 * **RTL-ready** — works on right-to-left sites
 * **No external dependencies** — pure vanilla JS front-end (~4KB gzipped)

## Blocks

This plugin provides 1 block.

 *   Lexiata XSlider Insert a slider you built with Lexiata XSlider.

## Installation

 1. Upload the `lexiata-xslider` folder to `/wp-content/plugins/` (or install directly
    via WordPress’ Plugins screen).
 2. Activate the plugin through the **Plugins** screen.
 3. Click the new **XSlider** menu item in your admin sidebar.
 4. Click **New project**, configure name/width/height, and click **Create project**.
 5. Click **ADD SLIDE**, choose **Image** or **Blank**, configure the slide, and save.
 6. Copy the shortcode (e.g. `[lex_xslider id="42"]`) and paste it into any post, page,
    or builder — or use the **Lexiata XSlider** block / Elementor widget.

## FAQ

### How do I add a click-through URL to a slide?

Open the slide editor, scroll to the **Click action** section, paste the URL, choose
whether it opens in the same tab or a new tab, and toggle `nofollow` if needed.

### Where do I paste the shortcode?

Anywhere shortcodes work: Gutenberg shortcode block, Classic Editor, Divi text module,
theme template files (use the PHP snippet from the General tab), etc. You can also
skip the shortcode entirely and use the built-in **Lexiata XSlider** Gutenberg block
or Elementor widget — both let you pick the slider from a dropdown.

### Can I embed a slider by name instead of its ID?

Yes. Give the slider an **Alias** on its General tab (for example `hero-slider`),
then use `[lex_xslider alias="hero-slider"]`. Handy when you rebuild a slider on
another site and want existing shortcodes to keep working.

### Will updating the plugin change my existing sliders?

No. Updates keep your saved sliders, slides and settings exactly as they are.

### Is the plugin translation-ready?

Yes. All strings use the `lexiata-xslider` text domain. Place `.mo` / `.po` files
in `wp-content/languages/plugins/` or under the plugin’s `languages/` folder.

### Does the plugin store data outside the WordPress database?

No. Slider projects are stored as a custom post type, and slides + settings are 
stored in `wp_postmeta`. No external requests, no analytics, no tracking.

### How can I customise the slider visually?

Open the slider’s **Developer** tab and add space-separated classes to the wrapper
in **Slider CSS classes**. Then style those classes from **Appearance  Customize
Additional CSS** — WordPress’ built-in tool for custom CSS.

### Where is the unminified front-end code?

The front-end files in `assets/frontend/` are minified for speed. The readable sources
are in `assets/frontend/src/` — set `SCRIPT_DEBUG` to `true` in `wp-config.php` 
to load them instead.

### Does it work with caching plugins?

Yes. Frontend assets are static files with cache-friendly versioning, and the slider
markup is fully server-rendered.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Lexiata XSlider” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Suresh Lasantha ](https://profiles.wordpress.org/mrsureshlk/)

[Translate “Lexiata XSlider” into your language.](https://translate.wordpress.org/projects/wp-plugins/lexiata-xslider)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lexiata-xslider/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/lexiata-xslider/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/lexiata-xslider/)
by [RSS](https://plugins.trac.wordpress.org/log/lexiata-xslider/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.6.0

 * Compatibility: tested with WordPress 7.1 (always-iframed block editor, 40px admin
   controls, jQuery UI 1.14).
 * Fixed: the Gutenberg block could not be selected in the editor (no toolbar or
   settings sidebar). Wide/Full alignment now also works on the front-end.
 * Fixed: slides could not be reordered by dragging the grip handle. Reordering 
   now works with mouse, touch and keyboard (Alt +  / ).
 * Fixed: horizontal sliders showed an empty slide on right-to-left (RTL) sites.
 * Fixed: keyboard arrows no longer block page scrolling, typing in form fields 
   or the browser’s Back shortcut, and only the hovered or focused slider reacts.
 * Fixed: on phones, scrolling the page over a slider no longer stops autoplay for
   good.
 * Fixed: unticking “Hide on” devices for arrows is now saved.
 * Fixed: after using arrows, bullets, keys or swipe, autoplay waits a full slide
   duration before moving on.
 * Fixed: lazy sliders taller than the screen never started; a lazy threshold of
   0% now works.
 * Fixed: a right-click could leave the slider stuck in drag mode; a keyboard “click”
   on a slide link right after a swipe was ignored.
 * Fixed: settings dropdowns had no arrow and fields were misaligned on WordPress
   7.x; duplicated slides now appear next to the original.
 * Improved: responsive images (srcset/sizes) for Media Library images; the Media
   Library alt text is used when a slide’s alt text is empty.
 * Improved: the next and previous images are preloaded (no blank slide mid-transition);
   autoplay pauses while the slider is off-screen or focused by a keyboard user.
 * Improved: accessibility — hidden slides are skipped by screen readers and the
   Tab key, labelled form fields, keyboard access to slides, tabs and copy buttons,
   focus kept inside dialogs.
 * Improved: performance — minified front-end files (about 6KB gzipped in total),
   the slider list for the block editor is no longer queried on every page load,
   no page-wide touch listeners.
 * New: embed a slider by alias — `[lex_xslider alias="hero-slider"]`.
 * New: duplicate a whole slider and copy its shortcode right from the dashboard.
 * New: colour pickers for arrow and bullet colours; “Edit this slider” link in 
   the block settings.
 * Removed: the “Force full width” and “Limit slide width” toggles, which never 
   affected the slider. Saved settings are kept.
 * Security: hardened request handling and output escaping; admin notices are now
   per user.

#### 1.5.1

 * Fixed: a packaging issue in 1.5.0 that prevented the Gutenberg block and Elementor
   widget from loading. Both now work as intended.

#### 1.5.0

 * New: **Gutenberg block** — pick a slider from a dropdown, with an in-editor preview.
   The shortcode keeps working everywhere.
 * New: **Elementor widget** — drop a slider into any Elementor layout with a live
   preview.
 * New: a **“Report a bug”** tool in the admin header (opens a pre-filled email 
   with environment info).
 * Improved: the settings editor now saves the whole slider from a single screen—
   no more lost changes when switching tabs, and no more misleading “unsaved changes”
   prompts.
 * Fixed: autoplay no longer stops permanently after a single click, and respects
   the configured delay.
 * Fixed: dragging past the first or last slide no longer exposes an empty area 
   behind the slider.
 * Fixed: drag/swipe listeners are cleaned up correctly when a slider is removed(
   single-page apps / page-builder previews).
 * Fixed: border-radius preset labels are now legible; the “New project” dialog 
   no longer closes on an accidental background click.
 * Compatibility: WordPress 7.0 block editor; asset cache-busting so updates always
   reach the browser.
 * Housekeeping: documentation accuracy and internal cleanup.

#### 1.0.0

 * Initial public release.
 * Custom Post Type for slider projects with private admin-only visibility.
 * 8-tab settings editor: General, Size, Controls, Animations, Autoplay, Optimize,
   Slides, Developer.
 * 4 slide animations: Horizontal, Vertical, Fade, Zoom fade.
 * 4 arrow styles: Default, Circle, Square, Minimal — with adjustable size, colour,
   and per-device visibility.
 * 4 bullet styles: Dot, Bar, Pill, Square.
 * Border-radius control (0–100px) with 5 presets — Sharp, Subtle, Soft, Rounded,
   Pill.
 * Image and Blank slide types with click-through URLs (target tab + nofollow support).
 * Touch swipe and mouse drag navigation that works across all animation types.
 * Keyboard arrow navigation (activates on hover, focus, or viewport visibility).
 * Drag-to-reorder slides in the admin editor with mobile touch support.
 * Duplicate slide, delete slide, live preview.
 * Vanilla JS frontend engine — no jQuery dependency, ~5KB minified.
 * Lazy initialisation with IntersectionObserver — slider boots only when scrolled
   into view.
 * First-slide LCP optimisation via `fetchpriority="high"`.
 * Multisite-aware uninstall — cleans up all sites’ data on plugin deletion.
 * Accessibility: ARIA roles, focus-visible outlines, `prefers-reduced-motion` support.
 * Translation-ready — all strings use the `lexiata-xslider` text domain.
 * Shortcode `[lex_xslider id="X"]` works in any builder (Gutenberg, Elementor, 
   Divi, Classic Editor, theme templates).

## Meta

 *  Version **1.6.0**
 *  Last updated **1 month ago**
 *  Active installations **600+**
 *  WordPress version ** 5.5 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/lexiata-xslider/)
 * Tags
 * [carousel](https://emoji.wordpress.org/plugins/tags/carousel/)[image slider](https://emoji.wordpress.org/plugins/tags/image-slider/)
   [lightweight](https://emoji.wordpress.org/plugins/tags/lightweight/)[responsive slider](https://emoji.wordpress.org/plugins/tags/responsive-slider/)
   [slider](https://emoji.wordpress.org/plugins/tags/slider/)
 *  [Advanced View](https://emoji.wordpress.org/plugins/lexiata-xslider/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/lexiata-xslider/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lexiata-xslider/reviews/)

## Contributors

 *   [ Suresh Lasantha ](https://profiles.wordpress.org/mrsureshlk/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/lexiata-xslider/)