Hi, I like this plugin. How can I add a rich text ques…
This thread has been imported from harmonicdesign.ca/hd-quiz/
Hello Luis,I assume that you want to have code tags in either the question or the answers? If so, there are two steps you’d need to make.
First, encapsulate your question title/answers in the code tag. Depending on what code you want to show and your WordPress install, this might be enough. If it does not give you the desired outcome, then you’ll need to also do the below.
For security, HD Quiz scrubs and sanitizes most HTML from the inputs, so you’d need to edit this. Start by editing
custom-meta.php and remove the additional sanitation there. Things like removing encapsulating
esc_attr to allow for special characters. You’ll also probably need to take a look at
template.php depending on where you want your code to be visible instead of being stripped.
If you need help figuring this out, just let me know. An example question and answers would be useful as well 🙂
thanks!! I like this plugin so much
If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.
This thread has either been marked as complete or has been automatically closed due to inactivity.