We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
How do I get the most recent podcast episode and display it?
I haven't worked with perch in months and have forgotten how to do so many things. I'm working on a site for a podcast, and the client would like to display the most recent podcast episode on their home page. I thought it would be something like this, except the available options for that function doesn't include a count or sort-order, and it doesn't seem to actually do anything.
<?php perch_podcasts_episode(perch_get('show-slug'), perch_get('ep'), array( 'template' => 'episode.html', 'sort-order' => 'DESC', 'count' =>1 )); ?>
Want to reply to this thread?Login with Perch