Makeiteasy Slider
by Lovro Hrust on WordPress.org
Block based slider, leverages the speed and versatility of the Swiper slider.
Key Features
- 🥇 Insert Any Block as a Slide: No restrictions! Use the full power of the WordPress block editor.
- 🥈 Flexible Configuration: Use Swiper’s full range of features by entering the JSON configuration.
- 🥉 Lightweight & Fast: Uses only Swiper library as dependency.
- 🌟 Developer-Friendly: The source code is fully available, making it easy to customize with hooks.
JSON configuration how to
Head to Swiper docs, to Parameters section to find parameter you need.
More elaborate configuration for some features is available further below on page, in Modules section.
Once you found the parameters you need, write them as JSON instead as javascript object, i.e.:
{
autoplay: {
delay: 6000,
disableOnInteraction: true
},
pagination: {
clickable: true
}
}
would be written as
{
"autoplay": {
"delay": 6000,
"disableOnInteraction": true
},
"pagination": {
"clickable": true
}
}
And enter them on settings tab in block sidebar under Advanced slider configuration section.
You can learn more about JSON in Stackoverflow blog or on W3schools page.
Your JSON configuration merges with default configuration needed for swiper to run. You can break slider functioning through misconfiguration, so this is the first place to look if something does not work.
There is a built in syntax checker in Advanced slider settings box,
Developers
There is a full source code on github. You can investigate code, adjust it to your needs, collaborate, …