Kindly replace the # symbol with either “Q” (e.g., Q1.) or a heart symbol (❤️) based on settings or customization options.
Dear HD Plugin Support Team,
I hope this message finds you well.
We are currently using your plugin for quiz-based assessments and would like to request a couple of UI adjustments to improve the clarity and user experience:
Question Number Format
Current: Questions are prefixed with a # symbol (e.g., #1.).
Request: Kindly replace the # symbol with either “Q” (e.g., Q1.) or a heart symbol (❤️) based on settings or customization options.
Answer Highlighting Style
Current: A ring is used to highlight the selected option (green for correct, red for incorrect).
Request: Instead of just a ring, we would like the entire option background to change color:
Green background for the correct answer.
Red background for the incorrect answer.
These enhancements will make the quiz interface more intuitive and visually engaging for users.
Please let us know if these customizations are possible with the current version, or if any additional steps are needed on our end.
Looking forward to your support.
Hi Shiv,
I actually already have a filter built into HD Quiz to allow you to change the “question symbol” to whatever you like. The filter is called hdq_set_question_number_symbol.
To use this filter you will need to add the following code to your theme’s functions.php file. BACK UP THE FILE BEFORE MAKING ANY CHANGES.
function hdq_shiv_change_question_symbol($symbol)
{
return "❤️";
}
add_filter("hdq_set_question_number_symbol", "hdq_shiv_change_question_symbol", 10, 1);Let me know if you are not comfortable making this change, and I can package that function up as an addon for you.
As for your background changes. HD Quiz already has a green and red background for the relevant marking. This is how it works by default. If this is not happening for you, then it means that your theme has some styling that overrides this. If you provide a link to a quiz, I can take a look and direct you on how to fix.
one more i don’t want to change theme function as i don’t have technical expertise, help me do it from styler.
Hi again Shiv, I am so sorry for the late reply. I actually created the addon for you almost two weeks ago, and it can be found here:
https://hdplugins.com/plugins/hd-quiz/hdq-styler-symbol-change.zip
It was only now I realized that despite creating the addon… I never actually responded to you with the link 🙈
Dear Dylan,
Thank you so much for your prompt response. I truly appreciate your effort and am very pleased with the outcome.
Everything is working perfectly now.
Hi, I have installed and activate your add-on but see no option to change the question mark.
Did I miss something ?
Thank you
https://hdplugins.com/plugins/hd-quiz/hdq-styler-symbol-change.zip
Correction: I seen the heart instead of # but I see not option to use Q.
Hi Giles,
all the addon does is package the code I provided further up in this thread as a plugin.
If you edit the plugin file, all you have to do is replace the heart with a Q. Consider unzipping the plugin to edit it, then re-zip to upload it again.
This thread has either been marked as complete or has been automatically closed due to inactivity. Please consider opening a new support thread for help.