• Resolved gillespieza

    (@gillespieza)


    I tried having a paged layout with random order. The random order worked fine, but I saw repeated posts when I paged through the various pages.

    Please advise?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Thank you for the issue description.

    That’s true, I hadn’t noticed this before, but random order does not work with pagination. It’s because pages after the first page are loaded using AJAX, and they don’t know about what post IDs were included in the first page (and all other pages).

    This can probably be solved by generating a list of all random post IDs first, then using that list during pagination.

    OK, I’ve made a note of this, and will post here when it’s solved.

    Plugin Author Eliot Akira

    (@miyarakira)

    Hello, in the newest plugin version, the pagination feature supports order by random.

    It works by passing the initially generated order of IDs to the AJAX pagination, so newly loaded pages follow the same order, instead of creating a new random list every time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Random order doesn’t work with pagination’ is closed to new replies.