Function request : allow audio files in the question (for…
Function request : allow audio files in the question (for music lessons) ! 🙂
This thread has been imported from harmonicdesign.ca/hd-quiz/
The problem with allowing embedding media is that the success is VERY dependent on your theme. Some themes don’t do anything special to style and position things like audio and video embeds, while others are very heavy-handed in the way they deal with these types of embeds.
If I were to create this as a dedicated or advertised feature, I’d have to spend most of my time either helping people fix their themes (which is obviously far out of scope for free support on a free plugin), or tell people “sorry, this feature won’t work for you because of your theme” and then deal with the 1 star reviews.
However, if you are comfortable adding some code to your site, adding the following to your theme’s
functions.php (always backup the file first!) file will do what you need. https://tinyurl.com/3v7k6m29
The code will do two things. First, it will add a new content editor to each question found on the “extra” tab where you can add whatever custom content you want (including video/audio). Second, it will display this custom content after the question title.
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.