Automatically create download link?
-
I’m maintaining the website of a choir and I use the Insert Media functionallity to insert MP3 audio to a post.
As you al know that looks something like this: [audio mp3="https://www.somesite.com/wp-content/uploads/2014/06/FIELDS-OF-GOLD-S1.mp3"][/audio]
Unfortunately it’s not possible from the front-end to download the track, only to play it. It’s a closed off members-only website and members should be able to download own recorded material, so that covers the whole legal thing.
Is there any way in functions.php to change this
[audio mp3="https://www.somesite.com/wp-content/uploads/2014/06/FIELDS-OF-GOLD-S1.mp3"][/audio]
to this, in an automated way?
[audio mp3="https://www.somesite.com/wp-content/uploads/2014/06/FIELDS-OF-GOLD-S1.mp3"][/audio] <a href="https://www.somesite.com/wp-content/uploads/2014/06/FIELDS-OF-GOLD-S1.mp3">Download FIELDS-OF-GOLD-S1.MP3</a>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Automatically create download link?’ is closed to new replies.