Hello mstudioIL,
If my “multiple pages” you mean using the WP Pagination option (so each page is literally new page load), then this is not possible because of the way WordPress queries and “random” work. Basically, each page would show a random question – meaning there is a chance to get repeat questions!
As stated on the quiz settings page:
Please note that randomizing the questions is NOT possible if the below WP Pagination feature is being used (it will work for jQuery pagination).
If you do not need literal page reloads for each question, then you can just use the main and default pagination with the random question order setting. So edit each question and select “paginate” and then make sure you enable “random question order” on the quiz settings. Since all questions are printed (but hidden) on the page with this mode, we can randomize the order without risk of repeated questions.
Thanks for the answer, I do not need pagination, I want to show other question each time the page is loaded.
Like here http://www.agrotop.co.il/Project/item/Murcia
(bottom of page- titled “Quiz Yourself”)
I need to transform this site to WordPress.
I need to use some kind of shortcode?
(I think the questions can be repeated, but need to check)
Oh, I see.
In that case, HD Quiz has the perfect setting for you! There is a setting that allows you to grab from a pool of questions.
Create a new quiz and add all of your questions. Edit the quiz settings and set “Use Pool of Questions” to 1. This feature will automatically grab 1 random question to display from the quiz on each page load, and allow you to replicate the functionality of the site you’ve shown.
Great, I using shortcode to get the quizs?
Yes. Once you’ve created a quiz, you will be provided with the “quiz shortcode” that you can copy/paste onto any page or post.
The next version (to be released any day!), also has a custom Gutenberg block that will make adding quizzes even easier!