• Resolved adriandambrine

    (@adriandambrine)


    Hi,

    You already helped me a lot, and with success.
    It goes beyond pure support, but I would like to ask you one new question.
    After clicking on « view results », a box appears : quiz pass ou quiz fail text.
    I would simply like to modify the code of your extension to add a feature : automatically show others quizzes from my website below the pass/fail text).
    I think it would considerably reduce de the bounce rate.
    Which file of your extension should I modify to add that ?
    thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi again Adrian,
    thank you for your kind words; please consider leaving a review!

    Unfortunately, automatically getting a list of links to all of your quizzes like this is not possible because there is no way for HD Quiz to know which of your pages/posts you added a quiz to.

    So you really only have two options.

    1. If you are adding quizzes to posts, then you can create a category to house all posts with a quiz. Then we can query this category to, for example, automatically show a list of your most recent 5 quizzes in the results area.
    2. You can create a hidden page on your site and manually keep it updated with links to all of your quizzes. We can then grab the content of this page and display it in the results.
    Thread Starter adriandambrine

    (@adriandambrine)

    Thank you for your answer.
    I have indeed a category with all the quizzes
    https://www.laculturegenerale.com/category/quizz/
    What file of your extension should I modify to modify the result box and show automatically the list ? I do not ask you to make the code for me, but only to tell me where the results box code is.
    Thank you again

    Plugin Author Harmonic Design

    (@harmonic_design)

    Results can be found in ./includes/functions.php starting around line 505 with the function called hdq_get_results

    I recommend adding your custom content after where the div with class hdq_result_fail is printed. This way it will be below your result text but above where the social share buttons are.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Modify quiz pass / quiz fail box’ is closed to new replies.