• Resolved jlkettwig

    (@jlkettwig)


    I would like to disable the mp3 download link, so that the sermon can only be listened to online and the mp3 not saved to the computer (knowing that this is not preventing saving the file in some way). Can you please point me to a possible hack?
    Thanks!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • If there’s a way to do this from within Sermon Manager, that would be the preferable way. I don’t know if it’s a current feature, or perhaps something planned, but it shouldn’t be hard to remove it via CSS. I’ll check back tomorrow to see if @nikolam has commented.

    Jack

    • This reply was modified 6 years, 9 months ago by Jack Rogers.
    • This reply was modified 6 years, 9 months ago by Jack Rogers.

    Hi,

    You could hide whole attachment area, or just mp3 link.

    Note that you won’t see bulletin or notes in future if you opt to hide whole attachment area.

    To hide whole attachment area:

    
    #wpfc-attachments {
      display: none;
    }
    

    Just mp3 link:

    #wpfc-attachments a[href$='.mp3'] {
      display: none;
    }

    Add this CSS to Appearance -> Custom CSS (or Edit CSS), or to your theme’s CSS file. (usally style.css)

    Add this CSS to Appearance -> Custom CSS (or Edit CSS), or to your theme’s CSS file. (usally style.css)

    Adding to Appearance -> Custom CSS is by far the best method. Manual edits to theme files are often overwritten whenever the theme gets an upgrade. And if you change themes, you’d lose this customization. Adding it as Custom CSS is the best way to keep it independent of your theme.

    Jack

    Thread Starter jlkettwig

    (@jlkettwig)

    Thanks a lot for the quick response! I’ll give it a try. Keep the great work up!
    Cheers.

    Thread Starter jlkettwig

    (@jlkettwig)

    Can you please tell me where to find “appearance –> custom css”? I’ve looked everywhere but didn’t find it.

    It should be in your dashboard. Try:
    Appearance -> Customize -> Additional CSS

    If it’s not there, your theme may be outdated.

    Jack

    Thread Starter jlkettwig

    (@jlkettwig)

    Thanks a lot Jack! I was searching in the file structure via ftp. And since my website language is different I didn’t spot it in the dashboard. All solved now and working.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide Download mp3 link’ is closed to new replies.