Skip to content

Commit

Permalink
v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gaambo committed Mar 14, 2024
1 parent 7180bf1 commit a6993a8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion good-slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 10 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 =
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a6993a8

Please sign in to comment.