• Resolved dekket

    (@dekket)


    As the documentation states, I can easily just create single-podcast and archive-podcast.php in order to start customizing the presentational layer. However nowhere does it say how to actually insert for instance the media player..? I want to, for instance, have the media player show up on the archive page and thus not force the user to click into the single post.

    I’ve looked in the class-ssp-frontend.php but I can’t figure it out :-/

    https://wordpress.org/plugins/seriously-simple-podcasting/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    This will display the media player for you:

    
    global $ss_podcasting;
    $file = $ss_podcasting->get_episode_download_link( $episode_id );
    echo $ss_podcasting->media_player( $file, $episode_id );
    

    Just replace $episode_id with the ID of the current episode. you can use get_the_ID() if you’re inside the loop.

    Cheers,
    Hugh

Viewing 1 replies (of 1 total)
  • The topic ‘Customizing the archive and single templates’ is closed to new replies.