This forum is now read-only. Support is provided at

Please consider registering
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Forum Options

Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
File_with_download not showing the download link?
14 March, 2013
1:11 pm
Tsuua Kekale
Forum Posts: 27
Member Since:
26 January, 2013
sp_UserOfflineSmall Offline

I just noticed that while my testsite shows the download link with file_with_download shortcode in the template, my actual website does not. I downloaded my test site's sermon.php, dictionary.php and frontend.php files and uploaded those to the actual site, but still the link is not showing.


Has anyone else had similar problems or ideas what might be wrong? Both sites use same theme.

14 March, 2013
2:25 pm
Ben Miller
Appleton, WI, USA

Forum Posts: 1628
Member Since:
18 June, 2009
sp_UserOfflineSmall Offline

Yes, this issue has come up in the forum before.  See this topic for some past discussion:

The problem is that the function used by the "file_with_download" tag checks to see if you are using the old WordPress Audio Player plugin.  If it sees the plugin, it adds the download link, and if it does not, it leaves the download link off.  I have no idea why this check is in there.

There are three workarounds that I see, the first two of which are discussed in the topic I linked above.


1. You can install and activate the old WordPress Audio Player plugin.  This is the one by Martin Laine.  Even if you don't use it, and you use the MediaElement.js plugin, when Sermon Browser sees that the Audio Player plugin is activated, you'll see the download link.  I don't really like this solution because I don't like having extra plugins activated that I'm not using, but it will work.


2. You can add a download link to the MP3 shortcode box on the Sermons, Options screen.  For example, if you are using MediaElement.js, your MP3 shortcode box could be:

[mejsaudio mp3="%SERMONURL%" preload="none"]<p><a href="%SERMONURL%">Download MP3 Audio File</a></p>

The advantage with this one is that it is easy to change the way your download link looks anytime you like.


3. Finally, you could change the function code so that it doesn't care what audio player you are using, and it will add the download link anytime you use the file_with_download template tag.

This requires a change to sb-includes/frontend.php.  Remember to backup the file before you edit.  The function we are looking at is named sb_print_url_link( ), which you'll find somewhere around line 695.  In that function, find the line that looks like this:

Change the line to this one:


Let me know if you have any questions about any of these options.

Ben Miller, Pathways Church, Appleton, Wisconsin, USA
Read the new FAQ, last updated 11/21/2013
Announcing version 0.45.12

20 March, 2013
5:21 pm
Saanichton, BC, CA
Forum Posts: 47
Member Since:
19 February, 2013
sp_UserOfflineSmall Offline

Thxs for this Ben. I just applied your point number 2 above - it works like a charm!

John Vickers, Church of Our Lord, Victoria, BC, CA
Customized Sermon Browser vs. 0.45.12 on WordPress 4.1

Forum Timezone: Europe/London
Most Users Ever Online: 381
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Rich Brown: 358
Matt Schlueter: 93
Mindy: 72
Don Johnson: 65
anointed: 57
0be1: 55
Member Stats:
Guest Posters: 7
Members: 3188
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1713
Posts: 7499
Newest Members:
marktest, deatles50, ValeriaGoodriz, dapedPup, oapedPup, Margarettoimb
Moderators: Ben Miller: 1628
Administrators: Mark Barnes: 435