Restrict the number of entries in post from RSS feed?
-
Hi all, I’ve been using the rss shortcode to put a list of entries from an rss feed within the main body of a page or post. This works well, however, it also can be insanely long. Is there a way to limit the number of posts shown when using the rss shortcode in the main body of a page or post.
When on the sidebars, the rss widget happily lets me restrict to a handful of entries. How do we do this with the rss shortcode? Can we do it?
The blog I need help with is: (visible only to logged in users)
-
https://en.support.wordpress.com/rss-shortcode/
Not seeing a parameter on the support doc to limit the number of posts in a shortcode so I’ve tagged this for Staff input. Please be patient while they get back to you.
-
NOTE TO STAFF: in the troubleshooting section, it looks like the feedvalidatordotorg site is kaput.
-
Ooh, thanks Jen. Good to know.
I did a bit of digging, and as far as I can tell, there is no “limit” feature in this shortcode. I can’t promise we’ll add one, but I can say I went ahead and filed that request for you. Cheers!
-
Thank you. I figured that there wasn’t an option there. I’ll be keeping an eye out for when (and if) one gets added.
-
- The topic ‘Restrict the number of entries in post from RSS feed?’ is closed to new replies.