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;}
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.
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!
I get it.
Thank you for your time!
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.