Random sort & pagination – duplication & missing posts
-
Hi,
I use filter everything for a custom post type archive, to help junior doctors find online courses. This currently appears in pagination format (kadence theme pro) but will move to infinite scroll.
I currently sort by random as default, as I cannot be seen to favour certain (3rd party) courses over others. The problem is that with pagination & infinite scroll, the 2nd and 3rd pages just randomise again from the whole sample of courses, rather than randomising everything excluding the pages which have already been viewed.
This means that posts are duplicated, with some posts missing.
Is there a way around this? What I want is:
Page 1: 12 random posts from the sample of 36
Page 2: 12 random posts from the 24 posts which have not yet been showed
page 3: 12 random posts from the 12 posts which have not yet been showed.If there is nothing in the works for this, I’d appreciate any direction to give a WordPress dev to fix this issue.
Thanks!
The page I need help with: [log in to see the link]
The topic ‘Random sort & pagination – duplication & missing posts’ is closed to new replies.