by GoodWP.
A simple and extendable slider block based on Swiper.
This plugin provides a very simple slider block which is based on Swiper.
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.
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.
We recommend installing the plugin extension through the WordPress Backend.
/wp-content/plugins/
directory.As of now, there are no configuration UIs in the editor.
You can use the good-slider/swiper-options
filter hook to set the swiper configuration for a specific block instance.
All the available arguments are documented in the Swiper documentation.
Yes you can use the good-slider/swiper-script-handle
filter hook to change the name of the swiper script handle.
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).
Yes, we are working on exposing the most common configuration options (slides shown, spacing, colors,…) via the block’s settings.
InnerBlocks
settings/props for slider and item block.