Function request : allow audio files in the question (for…

closed

Function request : allow audio files in the question (for music lessons) ! 🙂

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

July 14, 2022 at 9:48pmVincent

Hi Vincent,
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.

17 July 2022 — 14:28support admin Dylan

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.