Skildring
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.
NEW!
I am accepting suggestions for new features and improvements.
If you have an idea, please open an issue on GitHub
or write here in support section.
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, âŠ
Blokker
Denne utvidinga gjev 2 blokker.
- Slider Slider based on blocks
- Slide Slide for makeiteasy slider
Installasjon
From block editor:
Search for «makeiteasy swiper slider» in the block editor when adding a new block via the «+» sign in the top bar.
Standard Installation:
- Install the plugin through the WordPress plugins screen directly or upload the plugin files to the
/wp-content/plugins/makeiteasy-swiper-sliderdirectory. - Activate the plugin through the «Plugins» screen in WordPress
Vanlege spm.
-
Why is [feature x] missing?
-
Creating UI for every detail of Swiper slider is exceptionally demanding. Thatâs why configuration in UI is limited, while JSON configuration is secure
and very powerful. -
Can I use it in other page builders (e.g. Elementor)
-
Depends on page builder. Some builders also have third party add-ons which enable using blocks.
Omtalar
Bidragsytarar og utviklarar
âMakeiteasy Sliderâ is open source software. The following people have contributed to this plugin.
ContributorsOmset âMakeiteasy Sliderâ til ditt eige sprĂ„k.
Interested in development?
Les kjeldekoden, sjekk SVN-lageret eller abonner pÄ utviklingsloggen med RSS.
Endringslogg
1.0.6
Updated default Swiper configurations in default.json.
1.0.5
Swiper library updated to version 11.2.10. WordPress scripts package updated to 30.25.0. Dotenv package updated to 16.6.1.
1.0.4
Attempt to fix error when inserting block from searching from block library in block inserter.
1.0.3
Deprecating «two sliddes horizontal» editor view mode in favor of calculating slide widths according to Swiperâs slidesPerView setting.
1.0.2
Minimum slide width in editor breaks display in editor when slides are small images â this is reverted back to v1.0.0.
1.0.1
Set minimum slide width in editor
Enable styling colors in slider background and slider colors which could be inherited (Color section in block sidebar).
1.0.0
Initial version
