HD Quiz

Need to send invoices?
Check out my new WordPress plugin HDInvoice
Limited time launch sale

Hi, I like this plugin. How can I add a rich text ques…

Published: August 31, 2017
Support status: closed

Hi, I like this plugin. How can I add a rich text question?,I need it to make quiz about javascript

This thread has been imported from harmonicdesign.ca/hd-quiz/

thread author: Luis Cruz

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 🙂

31 August 2017 — 12:02 support admin - Dylan

thanks!! I like this plugin so much

01 September 2017 — 18:33 thread author - Luis Cruz

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.