HD Quiz

Need to send invoices?
Check out my new WordPress plugin HDInvoice
Limited time launch sale

Hi. I was wondering if we can set/change any settings of …

Published: December 21, 2022
Support status: closed

Hi. I was wondering if we can set/change any settings of all questions at once via database? I wanted to enable ‘paginate’ to all of my questions. Can it be done via SQL query? or any other way?

Also, can the default setting be also set?

Just thinking…. 🙂

This thread has been imported from harmonicdesign.ca/hd-quiz/

thread author: Asad

Hi Asad,
there is a way to force Quiz Settings, but not Question Settings.

In your case, the best way would be to modify the plugin itself. If you edit hd-quiz/includes/template.php you will see the function hdq_print_jPaginate($quiz_ID);.

All you have to do is move that function outside of the if check and that’s it! As a bonus, you might want to wrap it inside a different if statement to check if $i != 1 so that pagination is not enabled on your first question.

21 December 2022 — 11:03 support admin - Dylan

WOW! It works… thanks 🙂

22 December 2022 — 11:33 thread author - Asad

If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.

This thread has either been marked as complete or has been automatically closed due to inactivity.