Skip to content

Instantly share code, notes, and snippets.

@hlashbrooke
Created November 7, 2015 05:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hlashbrooke/1e19fef1553a9cba82ed to your computer and use it in GitHub Desktop.
Save hlashbrooke/1e19fef1553a9cba82ed to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: Add episodes series to episode meta data
add_filter( 'ssp_episode_meta_details', 'ssp_series_title_in_meta', 10, 3 );
function ssp_series_title_in_meta ( $meta, $episode_id, $context ) {
$series_title = get_the_term_list( $episode_id, 'series', 'Series: ', ', ' );
$meta['series'] = $series_title;
return $meta;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment