how to limit number of wordpress posts in rss feed

As per wordpress pages, we can limit number of wordpress posts in rss feed. Through RSS feed (feedburner and other feeds) we can subscribe to any website. RSS feed need to managed properly and shown to user. Some client and webmaster want to show limited nuber of post to user in RSS feed view, It is encourage-able to visitors to view your site.

how to limit number of wordpress posts in rss feed

What you need is, First login to worpdress admin panel. Than go to Settings » Reading page in your WordPress admin dashboard menu (left side).

WordPress itself given you facility to control RSS feed post numbers through wordpress admin panel itself.

[viral-lock message=”Setting image is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]

limit number of wordpress posts in rss feed
how to limit number of wordpress posts in rss feed

[/viral-lock]

After this, Find ‘Syndication feeds show the most recent’  textbox option and change the value(number) which you want to be shown to user in RSS feed page.

You will find “For each article in a feed, show ” radio box there, Choose option what you want to show to user in RSS feed. We suggest you to use “Summary” because it will be good for SEO purpose. Than Just save the changes.

Than go to your RSS feed page. If you dont know RSS feed page than use following link. Do not forget to change the your domain name.

https://yourdomain.com/feed

Your RSS feed will look as follows:

how to limit number of wordpress posts in rss feed

Tutorial is done, Now you have successfully limited number of wordpress posts in rss feed for your wordpress website. You will like above tutorial which will tell you Add Feedburner RSS feed email subscription form in wordpress without plugin and If you want to show thumbnail in RSS feed then check above tutorial Show Post Thumbnail or Featured image in WordPress RSS Feed

Many Hacks Related to wordpress and RSS feed: WordPress and RSS feed Hacks

wordpress add featured image to rss feed

In Many RSS feed we always see the images are showing. We can put the featured image in wordpress rss feed. WP RSS feeds are very important for SEO purpose. If you show the featured image on RSS feed then that will be great.

wordpress add featured image to rss feed

You need to open the functions.php file and put following code in that file. Then if you check your rss feed then RSS feed will be showing the featured images in RSS feed.

function thumbnail_in_rssfeed($content) {
global $post;
if(has_post_thumbnail($post->ID)) {
$content = '<div style="float:left;">' . get_the_post_thumbnail($post->ID) . '</div>' . $content;
}
return $content;
}
add_filter('the_excerpt_rss', 'thumbnail_in_rssfeed');
add_filter('the_content_feed', 'thumbnail_in_rssfeed');

This code will show the featured images in content and excerpt RSS feed.