Hi everybody !
I would like to add a download link to sermon.
After “A message by” wich I added under the player I would like to have / Click to download this message…
Thank you for your help !
Hi, in custom post type ‘sermon’ there is no “post author” field/option so it makes it impossible to use :
to set sermon’s author.
So you need a field where to enter url to each audio file . Maximum 1 file download per sermon.
You need field on sermon page where to add the name of sermon speaker to sermon page.
Actually you can add the author by editing /includes/admin/register-sermons.php line 33
which looks like:
'supports' => array('title','thumbnail','excerpt','editor','comments')
and please change the above line to look like
'supports' => array('author', 'title','thumbnail','excerpt','editor','comments')
You should see a new field on ”add semon page”, a dropdown with author nicknames.
You should add a link such as the one below, just change the location and the anchor text.
<a class="link-class-name" href="http://www.location-of-download/sermon.mp3" >Download the mp3</a>
Thank you for the author field ! It works great !!!!!
For the download link I would like it to be automaticaly created from the update audio file to not have to handly write it each time :(
If the player reads it may be it can be taken from the player somewhere…
Thank you very much !
The topic ‘Link to download audio file’ is closed to new replies.