=== General Slider ===
Contributors: Monowar
Tags: slider, general slider, image slider, wordpress slider, responsive slider
Requires at least: 4.9
Tested up to: 6.5
Requires PHP: 7.0
Stable tag: 1.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
 
A general lightweight, easy-to-use slider plugin.
 
== Description ==
 
*A lightweight, easy-to-use slider plugin.*
This plugin allows you to easily create a beautiful carousel slider to display in a general slider.

General Slider's intuitive interface allows you to create great looking, mobile-friendly sliders in minutes with no coding knowledge required. Just choose your images, add some text, drag and drop them into the order you want and you're good to go. The button creation tool gives you the option of adding a button to your slides.

Use shortcode:
must use id
Example: <b>[general_slider id="87" loop="true" dot="true" autoplay="false"]</b>
 
== Installation ==
 
Installing "General Slider" can be done either by searching for "General Slider" via the "Plugins > Add New" screen in your WordPress dashboard, or by using the following steps:

1. Download the plugin via WordPress.org
2. Upload the ZIP file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard
3. Activate the plugin through the 'Plugins' menu in WordPress

Use shortcode:
must use id
Example: <b>[general_slider id="68" loop="true" dot="true" autoplay="false"]</b>
 
 == Screenshots ==

1. This is Desktop view
2. The slider edit page
3. This is Movile view

== Frequently Asked Questions ==

= Do I need to style the text on my slides?

The slide overlay text inherits the styling from the theme that is currently active so there is no styling required.

== Changelog ==

= 1.1.0 =
* Fix: corrected the minimum PHP version check (the plugin no longer requires the non-existent "PHP 6.0").
* Fix: removed double HTML-escaping of slide headings and description.
* Fix: initialise slide button variables to avoid PHP "undefined variable" warnings.
* Fix: shortcode now generates a valid post ID in the meta box and admin list column.
* Fix: corrected text-domain usage on the custom post type labels.
* Tweak: scoped the admin "Shortcode" column to the slider post type.
* Performance: CSS/JS now load only on pages that render a slider instead of site-wide.
* Performance: added a version string to enqueued assets for proper cache-busting.
* Performance: dropped the bundled Bootstrap and Popper libraries (~210 KB) — they were unused; button styling is self-contained.
* Compatibility: updated the bundled CMB2 library from 2.7.0 to 2.12.0 for PHP 8.x support.
* Enhancement: slide description now allows safe HTML (wp_kses_post) instead of stripping all tags.
* Enhancement: the "slider" post type is now internal (shortcode-only) — no public single pages, archives, or rewrite rules.
* Enhancement: uninstalling the plugin now removes its slider posts and meta.
* i18n: moved the field config out of the CMB2 folder, unified the text domain, and added languages/general-slider.pot.
* Tidy: moved the carousel initialiser into an inline script attached to the library; removed boilerplate comments and unused code; bumped "Tested up to".

= 1.0.2 =
* Initial public release.