Podcast Documents

Support Area Forums Kerygma Podcast Documents

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #24911
    Kevin Huntsinger
    Participant

    Quick question on a need. Is there a way to have multiple documents to download. Example: We have sermon notes as well as notes for our CARE Groups (home groups) to go over?

    #24919
    Bill Robbins
    Moderator

    Hey Kevin,

    Great question. There are a couple of ways you can do that. The simplest option is to add the second file to download as a link in the podcast’s content area. Your readers can get to the link without needing any edits.

    The next option is to edit the theme. Here’s how to do that:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose podcast-item.php and scroll down until you see this section:
      
      		<?php if ( get_post_meta($post->ID, "message_notes", $single = true ) != ""  ) { ?>
      			
      			<a class="notes" download="<?php the_title(); ?>" href="<?php echo get_post_meta($post->ID, "message_notes", TRUE); ?>" download="<?php the_title(); ?>"><span class="icon-helper"><?php _e( 'Notes', 'organizedthemes' ); ?></span></a>
      		
      		<?php } ?>
      
    3. Right below that add this:
      
      		<?php if ( get_post_meta($post->ID, "message_notes2", $single = true ) != ""  ) { ?>
      			
      			<a class="notes" download="<?php the_title(); ?>" href="<?php echo get_post_meta($post->ID, "message_notes2", TRUE); ?>" download="<?php the_title(); ?>"><span class="icon-helper"><?php _e( 'CARE Notes', 'organizedthemes' ); ?></span></a>
      		
      		<?php } ?>
      
    4. Save your changes and then edit the single-podcast.php file and find this section:
      
      							<?php if ( get_post_meta($post->ID, "message_notes", $single = true ) != "" ) : ?>
      						
      								<a class="download-notes" download="<?php the_title(); ?>" href="<?php echo get_post_meta(get_the_ID(), 'message_notes', TRUE); ?>"><?php _e( 'Notes', 'organizedthemes' ); ?></a>
      							
      							<?php endif; ?>
      
    5. Right below that add this:
      
      							<?php if ( get_post_meta($post->ID, "message_notes2", $single = true ) != "" ) : ?>
      						
      								<a class="download-notes" download="<?php the_title(); ?>" href="<?php echo get_post_meta(get_the_ID(), 'message_notes2', TRUE); ?>"><?php _e( 'CARE Notes', 'organizedthemes' ); ?></a>
      							
      							<?php endif; ?>
      

      and save your changes.

    That will take care of the theme edits. Now when you’re working with a podcast, click on the screen options tab in the top right hand corner. Make sure the box by Custom Fields is checked. Now look below the main content box for the custom fields section. In the spot on your left, enter this:

    
    message_notes2
    

    and in the box on the right, enter the URL to the notes file. You can get the URL to that file in the media library.

    Once you update your podcast, the new link should hopefully be there.

    If you have any trouble, let me know.

    Thanks,
    Bill

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