Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi RathianSpike,
    unfortunately, no – at least not in a way that’d you’re likely to be OK with.

    The WordPress query loop for random is truly random. This means that when you you go the next page, WordPress will show all random questions again – with the possibility of duplicates.

    To simplify, let’s imagine you have 10 questions in the quiz and WP Pagination set to 1. This means that only 1 question will appear per page with a new question appearing on each subsequent page. If you also enable Randomize Question Order, then the next page will truly contain a random question each time, meaning it’s technically possible to get the same question 10 times in a row, or win the lottery and get a unique question each time.

    Thread Starter Henry

    (@henrychea)

    Ahh, I seee. It is possible to change or update this loop? And could you name it for me in the developer resources? I want to better understand this issue

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use random questions with WP pagination’ is closed to new replies.