Hello Kirby community,
I have a page on which content should appear randomly, but it’s gonna be lots of posts so I wanted a pagination with infinite scroll. Now the problem is, that everytime the infinite scroll script loads the next page, the shuffle function shuffles from beginning, so the posts get doubled.
I found two threads (Shuffle and pagination 2 & Shuffle and pagination combo) to the same topic and I tried to implement these solutions but it didn’t work on my site. How can I get that the posts are shuffled only when the page loads? Does Kirby 3 offer other ways to do this?