=== General Slider ===
Contributors: devmonowar
Tags: slider, carousel, slideshow, image slider, block
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

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

== Description ==

General Slider is a fast, modern slider for WordPress. Create a slider once, then place it on any page with the block or a shortcode. No page builder and no coding required.

Built on the lightweight Splide engine — no jQuery on the front end, accessible by default, and assets only load on pages that actually show a slider.

= Features =

* Reusable sliders — build once, use anywhere
* Gutenberg block — pick a slider from a dropdown and you're done
* Shortcode — `[general_slider id="123"]` for classic editor and page builders
* Three design presets — Hero fullwidth, Split business, Minimal centered
* One-click demo slider so you can see how it works straight away
* Per-slide image, sub heading, heading, text and button
* Per-slider settings: autoplay (+ speed), loop, arrows, dots, slide/fade transition, height, overlay, image fit and image focus
* Global default settings for new sliders
* Responsive, accessible (keyboard + screen reader), respects reduced-motion
* Performance friendly: no jQuery on the front end, lazy-loaded images, conditional asset loading

== Installation ==

1. Upload the plugin through Plugins > Add New, or upload the ZIP via Plugins > Add New > Upload.
2. Activate it through the Plugins menu.
3. Go to General Slider > Add New to create your first slider (or General Slider > Settings to import a demo).
4. Add the "General Slider" block to any page and choose your slider, or use the shortcode shown on the slider edit screen.

== Frequently Asked Questions ==

= How do I display a slider? =

Add the "General Slider" block to any page and pick your slider, or paste the shortcode `[general_slider id="123"]` (the exact shortcode is shown on each slider's edit screen).

= Do I need to write any code? =

No. Everything is done from the WordPress admin.

= Does it load jQuery? =

No. The front end uses the lightweight, dependency-free Splide engine.

== Screenshots ==

1. A full-width hero slider on the front end.
2. The slide editor — add slides with image, headings, text and buttons.
3. Per-slider settings: design preset, autoplay, height, overlay, image fit and focus.
4. Insert a slider on any page with the General Slider block.

== Changelog ==

= 2.0.0 =
* Complete rewrite. Modern, object-oriented codebase.
* New: reusable slider post type with a native slide editor (no third-party libraries).
* New: Gutenberg block to embed sliders.
* New: three design presets (Hero, Split, Minimal).
* New: per-slider image fit, image focus, height and overlay controls.
* New: one-click demo slider importer.
* New: global default settings page.
* Switched the front-end engine to Splide — no jQuery, accessible, lazy-loaded images.
* Note: this is a ground-up rebuild and does not migrate data from the 1.x series.
