Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

111
Visualizações
To change SlideToShow dynamically slick slider

I'm using slick slider for WP project.

What I want to achieve is that when user click/swipe the slider, then the value of slidetoshow would be randomly generated between the number 1 and 2.

For instance, 1st swipe the value would be 1. 2nd swipe would be 2. 3rd swipe would be 2 or 1. and so on.

Current situation/behavior is that when I swipe them, then they show 1 or 2 images, then next swipe, they appear 2 images at first, but they skip immediately other images and they show only 1 or 2 images in the end.. I have no idea why they perform like this weird behavior...

any advice or comment I appreciate that. Thank you! :)

my actual code

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda