• Resolved Michel

    (@michel92)


    Hello Dylan,
    I created more than 40 quizzes with your script. So, I believe I know the “routine” and the different steps of the creation.
    When I created the last quiz, I observed that the “HD quiz =” jumped from 90 to 101. And in the meantime I did nothing special (no update of existing quizzes, no question added to an existing quiz, no new articles or posts on the website…).

    For the previous, quizzes, the numbering sometimes skipped numbers, but it happened when I erased a bad quiz or when I tried tests in the database.

    Now I remember the only “unusual” thing I did was the creation of tags for existing articles (containing HD quiz code). I also modified the name of 1 or 2 categories.

    You only know where you fetch this damned number! ??

    PS: Maybe a clue… The answers (and the questions) of the quiz contains signs like + and -. Each questions has 3 possible answers : +, – or x (the letter x for multiplication).

    Another clue: In the csv file, I have things like that:
    (= 100)??,(6?? 1) x (4 x 5) = 100
    (= 100)??,(2 x 5) x (4 ? 6) = 100
    (= 100)??,(2 + 3) ? (4 x 5) = 100
    Maybe these parts could be interpreted like code by the server or by “filters” in WordPress 5.5?

    • This topic was modified 4 years, 7 months ago by Michel.
    • This topic was modified 4 years, 7 months ago by Michel.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi Michel,
    this isn’t only just expected behavior – it’s necessary. It’s hard to explain without a deep understanding of how WordPress works, but I’ll do my best!

    WordPress, like all CMS’, need to use unique IDs for everything. This is what makes it so that it can tell the difference between a post, page, category, quiz, comments, uploaded media files – anything!

    The IDs of quizzes from HD Quiz is the ID that WordPress assigns the taxonomy (quiz) when created. The IDs increment by one.

    So let’s say that you have 10 pages on your site and nothing else. Those pages would have IDs 1, 2, 3, …10. Then someone leaves a comment on one of the pages. That comment now has an ID of 11. Then you create your first quiz, which will have an ID of 12. Then you edit one of your pages and upload two images. Those images would have IDs 13 and 14. Then you create another quiz which would have an ID of 15.

    Hope this makes sense

    Thread Starter Michel

    (@michel92)

    Thanks a lot for this explanation. I’m glas to read that everything is normal ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jump from 90 to 101 in quiz number’ is closed to new replies.