Replies: 0
Heyho,
it could be one of the best Gutenberg Slider Plugins.
I realy love SwiperJS and use it on a lot of Projects.
Atm I use it with the HTML block in Gutenberg and wp_head & wp_footer Hooks include.
There are some nice features, if they will come in, you will be the best =)
F.e, here are my Custom-Settings for one of the Sliders:
<!– Initialize Swiper –>
<script>
var swiper = new Swiper(‘.swiper-container.swiper1’, {
slidesPerView: 4,
spaceBetween: 15,
centeredSlides: true,
centeredSlidesBounds: true,
grabCursor: true,
navigation: {
nextEl: ‘.swiper-button-next’,
prevEl: ‘.swiper-button-prev’,
},
// init: false,
pagination: {
el: ‘.swiper-pagination’,
clickable: false,
},
breakpoints: {
320: {
slidesPerView: 1.1,
spaceBetween: 15,
},
640: {
slidesPerView: 2.1,
spaceBetween: 15,
},
768: {
slidesPerView: 3.1,
spaceBetween: 15,
},
1024: {
slidesPerView: 4,
spaceBetween: 15,
},
}
});
</script>