From a6993a825ae5346f4aeee424bda12f8f8d03305d Mon Sep 17 00:00:00 2001 From: Fabian Todt Date: Thu, 14 Mar 2024 20:04:56 +0100 Subject: [PATCH] v3.1.0 --- README.md | 9 ++++++--- good-slider.php | 2 +- package.json | 2 +- readme.txt | 12 ++++++++++-- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4799d37..0adecd2 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # Good Slider -WordPress plugin with a very simple slider block which is based on [Swiper](https://swiperjs.com/). -As of now, the plugin does not provide any slider configuration in the editor UI but provides many **PHP filter hooks** to change its behaviour. +This WordPress plugin provides a very simple slider block which is based on [Swiper v8](https://swiperjs.com/). +The plugin provides a UI for the most common swiper options (navigation, pagination, slides per view). But it is +specifically made to be extended via PHP. +Therefore, it provides many **PHP filter hooks** to change its behaviour. -The plugin is used in some custom themes and through it's PHP configuration it's perfect for a locked-in design (eg agency, clients). +The plugin is used in some custom themes and through it's PHP configuration it's perfect for a locked-in design (eg +agency, clients). Through the filters it's also very easy to extend in your own functions.php file. ![Screenshot of adding a slider to your content](.wordpress-org/screenshot-1.png) diff --git a/good-slider.php b/good-slider.php index 63ded12..d1c7b5c 100644 --- a/good-slider.php +++ b/good-slider.php @@ -4,7 +4,7 @@ * Description: A simple and extendable slider block using Swiper * Requires at least: 6.4 * Requires PHP: 8.1 - * Version: 3.0.1 + * Version: 3.1.0 * Author: GoodWP * Author URI: https://goodwp.io * License: GPL-3.0-or-later diff --git a/package.json b/package.json index 275f6da..ed9b7ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "good-slider", - "version": "3.0.1", + "version": "3.1.0", "description": "A simple and extendable slider block using Swiper", "author": "GoodWP", "license": "GPL-3.0-or-later", diff --git a/readme.txt b/readme.txt index 1291896..d681eaa 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: block, slider, swiper Requires at least: 6.2 Requires PHP: 8.1 Tested up to: 6.5 -Stable tag: 3.0.1 +Stable tag: 3.1.0 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -19,6 +19,8 @@ Therefore, it provides many **PHP filter hooks** to change its behaviour. The plugin is used in some custom themes and through it's PHP configuration it's perfect for a locked-in design (eg agency, clients). Through the filters it's also very easy to extend in your own functions.php file. +If you want to report an issue or suggest features, please take a look at our [GitHub repository](https://github.com/goodwp/good-slider). + == Installation == = Minimal Requirements = @@ -59,7 +61,7 @@ Yes you can use the `good-slider/swiper-script-handle` filter hook to change the By default, a stripped-down version of Swiper is enqueued, which only includes the most commonly used modules (A11y, Keyboard, Lazy, Navigation, Pagination). You can use the `good-slider/swiper-script-handle` filter and set it to `good-slider-swiper-full` to enqueue the full Swiper bundle with all modules, or you can use or own (see above). -= Will there be a UI for more settings the block in the editor? = += Does the plugin provide a UI for slider settings and styles in the block editor? = Thanks to recent additions to core, our slider and slide block now allow for setting most of the common styling settings: - spacing @@ -96,6 +98,12 @@ See slide-variations.js in the examples directory. == Changelog == += 3.1.0 (2024-03-14) = + +- Tweak: Add `allowedBlocks` attribute to slide block. +- Fix: Fix default variations being inserted by custom block inserters. +- Docs: Add examples for locking and restricting the slider block. + = 3.0.1 (2024-03-14) = - Dev: Quick fix to remove some development files from the distributed plugin.