There is a simple slider:

$('.slider-wrap-mobile').slick({ slidesToShow: 1, slidesToScroll: 1, arrows: false, autoplay: true, autoplaySpeed: 4000, infinite: false }); 

number of slides 4. How can I change the order of slides, namely: 1st> 3rd> 2nd> 4th, considering autoplay.

  • github.com/kenwheeler/slick - Rustam Gimranov
  • 2
    Not quite clear what it is for? If you want to change the order of the display of any content - just arrange this content in the required order. As far as I know, out of the box skick does not provide such an opportunity. - Alexey Kapustsin
  • The problem is that the slides are pulled from the wordpress admin area. Setting the necessary sequence in the admin is also not an option. - Bohdan Didenko
  • want a crutch - sort the slides on js before calling $.slick() - teran

0