Dear, I have problem with this awesome plugin: When WP P…
Dear,
I have problem with this awesome plugin:
When WP Pagination is ON, 1 per page – after answering the second question, the quiz always opens the same question, won’t it continue to the next one? * although I have a total of 15
When WP Pagination is OFF, all questions are on one page and quiz works fine.
Could you please help me to solve this issue?
Regards,
Sasa
This thread has been imported from harmonicdesign.ca/hd-quiz/
Hi Sasa,
this might not be something I can help you with on my end. If your site (either your theme, or another plugin) changes the way pagination or queries work – then this is not something we can override on our side.
However, here are some things to check.
First, please make sure that you are not using the randomize question order feature. Random means random. So when using WP pagination, it’s fully possible that the same question can load more than once, since each page load randomly grabs some of the questions.
Second, make sure to clear your site cache if you are using a page caching solution. It’s possible that the pages are being cached.
If the above checks out, then this means that something on your site is either hijacking WordPress queries OR WordPress pagination, or even Menu Order. Please try the generic WordPress debug steps outlined here: https://harmonicdesign.ca/generic-wordpress-debug-steps/#steps. These steps will at least help you track down what on your site is causing this behaviour.
Lastly, if you are either unable to track down the plugin/function causing the issue or you do find it but are unwilling to remove it, the last thing to try is to edit HD Quiz directly and manually set the question order to publish date. With a bit of luck this will bypass whatever is interfering with your site.
To do this edit ./hd-quiz/includes/template.php and around line 208 you will see 'orderby' => $question_order, // defaults to menu_order. Change that line to instead be 'orderby' => "date",
This thread has either been marked as complete or has been automatically closed due to inactivity. Please consider opening a new support thread for help.