- This topic has 3 replies, 2 voices, and was last updated 5 years, 5 months ago by
Tom.
-
AuthorPosts
-
December 21, 2016 at 10:22 am #256810
Brian
Hi, I’ve been using GP for a few months and things have been going well. I’ve had a recent issue with podcasts. I’ve been using Seriously Simple Podcasting (SSP). Now I noticed that a number of my podcast episodes disappeared from my feed. I located them and restored them, but the number of podcasts in my feed has been limited to 10.
I searched through the SSP forums and found that I could edit the WordPress Reader settings: https://wordpress.org/support/topic/podcast-feed-limit/
I’ve done that and haven’t seen a longer list of podcasts on my feed generated yet. But here’s my real question. The SSP website says this issue can also be fixed by adding a snippet of code to the theme: https://www.seriouslysimplepodcasting.com/documentation/why-do-i-only-see-x-episodes-in-my-podcast-rss-feed/
I have no idea how to do that with the GP theme. Would I even WANT to do that? If that’s something I can and should do, how do I go about doing it?
Thanks in advance for the help. I am not someone who writes code or tinkers around with that stuff, so any help would be appreciated.
Thanks,
BrianDecember 21, 2016 at 10:31 am #256820Tom
Lead DeveloperLead DeveloperHi Brian,
You can definitely do that.
I would suggest using a plugin like this to add the snippet: https://wordpress.org/plugins/code-snippets/
Let me know if you need more info ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 21, 2016 at 10:41 am #256826Brian
Thanks, Tom.
In this link (https://www.seriouslysimplepodcasting.com/documentation/why-do-i-only-see-x-episodes-in-my-podcast-rss-feed/) they mention the following snippet:
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 }
Is that whole thing code or just part of it? It seems like “Where 25 is the number of episodes . . .” wouldn’t be part of the actual code. But I have no idea.
December 21, 2016 at 10:13 pm #256928Tom
Lead DeveloperLead DeveloperThat whole snippet is fine – the text there is commented out by the double forward slashes ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.