PHPackages                             devmonowar/general-slider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. devmonowar/general-slider

ActiveWordpress-plugin

devmonowar/general-slider
=========================

A lightweight, easy-to-use carousel slider for WordPress.

2.3.10(2d ago)01↑2900%GPL-2.0-or-laterPHPPHP &gt;=7.4CI passing

Since Jun 24Pushed todayCompare

[ Source](https://github.com/devmonowar/general-slider)[ Packagist](https://packagist.org/packages/devmonowar/general-slider)[ RSS](/packages/devmonowar-general-slider/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (10)Used By (0)

General Slider — Lightweight WordPress Slider
=============================================

[](#general-slider--lightweight-wordpress-slider)

> A lightweight, easy-to-use carousel slider for WordPress. Build reusable sliders and drop them anywhere with a block — no coding required.

[![WordPress Plugin Version](https://camo.githubusercontent.com/95babb7304ad7d1e8c664582363ab15b9769313cf2fbc95c0eaa695aa819be06/68747470733a2f2f696d672e736869656c64732e696f2f776f726470726573732f706c7567696e2f762f67656e6572616c2d736c696465723f6c6162656c3d776f726470726573732e6f7267)](https://wordpress.org/plugins/general-slider/)[![WordPress Plugin Active Installs](https://camo.githubusercontent.com/965055dea461e5b03ee9e386e9c7c38e7a96f34b248dd1bce6ea14b4a681b347/68747470733a2f2f696d672e736869656c64732e696f2f776f726470726573732f706c7567696e2f696e7374616c6c732f67656e6572616c2d736c69646572)](https://wordpress.org/plugins/general-slider/)[![License: GPL v2+](https://camo.githubusercontent.com/87fef8aaf8b2772d21309600af5ed45edb2d2e8610e02a277e1d4a1f067b541d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c76322532422d626c75652e737667)](LICENSE)

[![General Slider demo](.wordpress-org/screenshot-4.gif)](.wordpress-org/screenshot-4.gif)

Built on the lightweight [Splide](https://splidejs.com/) engine — **no jQuery** on the front end, accessible by default, and assets only load on pages that actually show a slider.

Features
--------

[](#features)

- Reusable sliders — build slides manually, or **dynamically from your posts, pages or WooCommerce products**
- Gutenberg block, shortcode and **Elementor** widget
- Five design presets — Hero, Split, Minimal, Testimonial, Fullscreen
- Navigation &amp; frame skins — Classic, Soft, Stories, Stories Progress, Numbers, Vertical, Corner, Neon, Minimal, Pill, Outline, Retro, Glass, Dark — any skin with any preset
- Per-slide image **or background video** (self-hosted MP4/WebM, YouTube or Vimeo)
- **Text entrance animations** (fade, fade up/down, slide, zoom — staggered) and Ken Burns zoom
- **Device-specific settings** — different slides-per-view, gap, height, arrows, dots or hidden text for tablet and mobile
- Multiple slides per view (carousel) with thumbnail navigation
- Per-slider settings: autoplay (+ pause button), loop, arrows, dots, slide/fade, **transition speed**, height, overlay (solid or gradient), image fit/focus and accent colour
- Custom CSS, categories, duplicate and JSON import / export
- **Demo Library** — one-click ready-made sliders (a starter demo ships with the plugin); start a new slider from a demo
- Responsive, **accessible** (keyboard + screen reader, pause control), respects reduced-motion
- Performance friendly: lazy-loaded images, viewport lazy-init, RTL ready

Installation
------------

[](#installation)

**From WordPress.org (recommended)**

Search for *General Slider* in **Plugins → Add New**, or [download it](https://wordpress.org/plugins/general-slider/).

**Manual**

1. Download this repository as a ZIP.
2. Upload it via **Plugins → Add New → Upload Plugin**.
3. Activate, then go to **General Slider → Add New**.

Usage
-----

[](#usage)

Create a slider under **General Slider → Add New**, add slides, then embed it:

- **Block:** add the *General Slider* block and pick your slider.
- **Shortcode:** `[general_slider id="123"]`
- **Elementor:** drop the *General Slider* widget.

Demo Library
------------

[](#demo-library)

A starter demo ships inside the plugin and is created automatically on first activation, so a fresh install isn't empty. **General Slider → Demo Library** offers more ready-made sliders — imported in one click, images and all — from an online library ([wp-plugin-demo-library](https://github.com/devmonowar/wp-plugin-demo-library)) served over GitHub Pages, so new demos appear **without updating the plugin**.

Developers can package any slider into a portable demo with the **Export Slider** row action, then re-import a package from the Demo Library screen.

Developer filters
-----------------

[](#developer-filters)

```
// Change a slider's resolved settings.
add_filter( 'general_slider_settings', function ( $settings, $post_id ) { return $settings; }, 10, 2 );

// Modify the slides before rendering.
add_filter( 'general_slider_slides', function ( $slides, $post_id ) { return $slides; }, 10, 2 );

// Change the Splide JS options.
add_filter( 'general_slider_config', function ( $config, $post_id ) { return $config; }, 10, 2 );

// Filter the final markup.
add_filter( 'general_slider_html', function ( $html, $post_id, $settings ) { return $html; }, 10, 3 );

// Register your own design preset (also provide a `.gs-preset-{key}` stylesheet).
add_filter( 'general_slider_presets', function ( $presets ) { return $presets; } );

// Register your own navigation & frame skin (also provide a `.gs-skin-{key}` stylesheet).
add_filter( 'general_slider_skins', function ( $skins ) { return $skins; } );

// Reshape the WP_Query a dynamic slider runs.
add_filter( 'general_slider_dynamic_query_args', function ( $args, $post_id, $source ) { return $args; }, 10, 3 );

// Change how a post maps onto a dynamic slide.
add_filter( 'general_slider_dynamic_slide', function ( $slide, $post, $source ) { return $slide; }, 10, 3 );

// Point the Demo Library at a different manifest (dev / staging).
add_filter( 'general_slider_demo_library_url', function ( $url ) { return $url; } );
```

See [`docs/hooks.md`](docs/hooks.md) for the full hook reference with examples.

Screenshots
-----------

[](#screenshots)

Front endDemo LibrarySettings[![](.wordpress-org/screenshot-1.jpg)](.wordpress-org/screenshot-1.jpg)[![](.wordpress-org/screenshot-4.png)](.wordpress-org/screenshot-4.png)[![](.wordpress-org/screenshot-6.png)](.wordpress-org/screenshot-6.png)Development
-----------

[](#development)

This is the development repository. The released plugin lives on [WordPress.org](https://wordpress.org/plugins/general-slider/). Front-end and admin CSS/JS ship minified (the un-minified sources load when `SCRIPT_DEBUG` is on); the only bundled third-party library is Splide (`assets/vendor/splide`, MIT). Quality gates run in CI — PHP lint, PHPCS, PHPStan and PHPUnit.

License
-------

[](#license)

[GPLv2 or later](LICENSE).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Recently: every ~12 days

Total

9

Last Release

2d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32286368?v=4)[devmonowar](/maintainers/devmonowar)[@devmonowar](https://github.com/devmonowar)

---

Top Contributors

[![devmonowar](https://avatars.githubusercontent.com/u/32286368?v=4)](https://github.com/devmonowar "devmonowar (27 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/devmonowar-general-slider/health.svg)

```
[![Health](https://phpackages.com/badges/devmonowar-general-slider/health.svg)](https://phpackages.com/packages/devmonowar-general-slider)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
