Skip to content

Instantly share code, notes, and snippets.

@TheCraigHewitt
Created July 27, 2019 17:32
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 TheCraigHewitt/3e1f009a188bd759d7bba5a3f98a80f1 to your computer and use it in GitHub Desktop.
Save TheCraigHewitt/3e1f009a188bd759d7bba5a3f98a80f1 to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: Modify number of episodes that appear in podcast RSS feed
add_filter( 'ssp_feed_number_of_posts', 'ssp_modify_number_of_posts_in_feed' );
function ssp_modify_number_of_posts_in_feed ( $n ) {
return 25; // Where 25 is the number of episodes that you would like to include in your RSS feed
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment