• Resolved sroskylos

    (@sroskylo1)


    Hello,
    About the personality quiz. I read in the previous posts that are not is the future plans for now.

    Is possible to give the option to quiz settings to not showing to the user frontend the green or red highlights but count as right or wrong and also the option to hide the hdq_score and print the result of the Quiz Pass text or Quiz Fail text?

    Thank you!

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

    (@harmonic_design)

    Hi sroskylo1,
    both are possible.

    First, edit your quiz settings and under the Marking tabs, disable “Highlight correct/incorrect selected answers on completion” and “Show the correct answers on completion”. This will stop HD Quiz from showing which answers were correct and which were incorrect.

    Now, if you also want to hide the score and only show the pass/fail text, then add the following CSS to your theme’s style.css file (or if your theme is compatible, then the appearance -> customize -> custom CSS section).

    .hdq_result {display: none !important;}

    Thread Starter sroskylos

    (@sroskylo1)

    Hello @harmonic_design.
    Thank you for the answer and the help.

    Is possible to share and the pass text that is on hd-.js file? “don’t remember the exactly name of the js file” Just the title.

    To allow share the result the user to social. This feature I wanna to selected quizzes not on all quizzes.

    Plugin Author Harmonic Design

    (@harmonic_design)

    Sorry, I’m not sure I 100% understand what you are asking, so please correct me if I’m going in the wrong direction here.

    .hdq_result {display: none !important;} will hide the results for all quizzes.

    However, since each quiz is wrapped in a unique ID, you can also pick and choose whitch quizzes to do this on.

    For example, if you only wanted to hide the result for a quiz with the ID of 43, then

    #hdq_43 .hdq_result {display: none !important;} would work and you can do this for whatever quizzes you need.

    Basically, add #hdq_ + quiz ID before .hdq_result {display: none !important;} to only select that quiz.

    The quiz ID can be easily found on the Quizzes page. The ID is part of the shortcode.

    Hope this makes sense!

    Thread Starter sroskylos

    (@sroskylo1)

    I get it.
    Thank you for your time!

    Thread Starter sroskylos

    (@sroskylo1)

    One last question… How can modify the hdq_script.js and change this only for the selected quiz? Example the #hdq_43

    FB.ui(
    		{
    			method: "share",
    			href: HDQ.VARS.permalink,
    			hashtag: "#hdquiz",
    			quote: "I scored " + hdq_score + " on the " + HDQ.VARS.name + " quiz. Can you beat me?"
    		},
    		function (res) {}
    	);
    });
     

    Example

    quote: "I get " + HDQ.VARS.name + " personality quiz. Can you try it?"

    • This reply was modified 3 years, 6 months ago by sroskylos.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Personality Quiz Suggestion!’ is closed to new replies.