• Resolved callimmak

    (@callimmak)


    Hi,

    thank you for your plugin.

    Is there a limit for questions in each quiz? Because I created two different quizzes and only 200 questions were imported for both of them.

    I would like to translate your plugin into Italian. How can I help you?

    Thanks

    • This topic was modified 1 year, 10 months ago by callimmak.
Viewing 1 replies (of 1 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi callimmak,
    first, thank you for your offer to help translate HD Quiz into Italian! The current branch 1.x is not translation ready yet, but a future 2.x release will be. I’ll keep you in mind for when the time comes!

    There is no limit to how many questions can be added to a quiz. However, your limit of 200 is very interesting. The page that lists all of your attached questions shows 200 at a time and you have to select the “NEXT QUESTIONS” button to see the next page of questions. This is done to help sites with poor/slow hosts.

    If you do not see this button for some reason, then something on your site is probably limit how many items can appear in a single query. Luckily, I included an override for such an occasion.

    You will need to edit your theme’s functions.php file to add the following line of code. NOTE: backup this file before making any changes.

    If you add the following after the opening <?php in that file, you will be able to change how many questions can appear in that list before pagination.

    define("HDQ_PER_PAGE", 200); Just change the 200 to a higher number, like 500 (or however many questions you have in your largest quiz).

Viewing 1 replies (of 1 total)
  • The topic ‘Limit 200 questions’ is closed to new replies.