podcast notes

Support Area Forums Authentic podcast notes

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question:
  • Author
    Posts
  • #3990
    Brian Eccles
    Participant

    Not all of our sermons have notes but the note icon and link is always there. it downloads a download.php file (at least on Chrome). Is there a neat way to deal with podcasts without notes?

    #3992
    Bill Robbins
    Moderator

    Good idea. I believe I’ll add that to the next version of the theme. Here’s how you can go on and add that yourself.

    1) Go to the appearance section and select edit to open up the theme editor.
    2) From the list of files on your right, choose archive-podcast.php
    3) Look for this spot (on line 28):

    and replace it with this:

    4) Look down for one more instance of that code on line 45 and replace it too.
    5) Save your changes

    That will change the podcast page to only display the notes link when notes are present. To change the widget to, edit widget-podcast.php and replace this:

    <span class=”notes”><a href=”<?php echo get_template_directory_uri(); ?>/includes/download.php?file=<?php $podcast_metabox->the_value(‘podcast2’); ?>”>Notes</a></span>

    with this:

    then save your changes.

    Great idea. Let me know if you have any questions.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘podcast notes’ is closed to new replies.