![](https://img-blog.csdnimg.cn/img_convert/a1a5fda1c80bf52fffa91e03e6d1baa4.png)
wordpress上传限制
Recently one of our users asked if there was a way to limit the number of posts displayed in RSS feed of their WordPress site. RSS feeds provide your users an easier way to subscribe to your site. However, sometimes you may want to limit the number of posts user can view in RSS feed, so it encourages them to visit your site. In this article, we will show you how to limit the number of posts displayed in RSS feed of your WordPress site.
最近,我们的一位用户询问是否有一种方法可以限制其WordPress网站的RSS提要中显示的帖子数量。 RSS feed为您的用户提供了一种更轻松的方式来订阅您的网站。 但是,有时您可能想限制用户可以在RSS feed中查看的帖子数量,因此鼓励他们访问您的网站。 在本文中,我们将向您展示如何限制WordPress网站的RSS feed中显示的帖子数量。
影片教学 (Video Tutorial)
If you don’t like the video or need more instructions, then continue reading.
如果您不喜欢该视频或需要更多说明,请继续阅读。
First thing you need to do is go to Settings » Reading page in your WordPress menu.
您需要做的第一件事是转到WordPress菜单中的“设置”»“阅读”页面。
Next, you need to change the value next to ‘Syndication feeds show the most recent’ option. Simply enter the number of posts you want to be shown in RSS feed.
接下来,您需要更改“联合供稿显示最新”选项旁边的值。 只需输入您想在RSS feed中显示的帖子数。
![Changing number of posts displayed in WordPress RSS feed Changing number of posts displayed in WordPress RSS feed](https://img-blog.csdnimg.cn/img_convert/4c33a198b3a7ad0691bbe44a3c6f6b81.png)
Below this option you will also see the option to show either the full text or summary of your posts in RSS feeds. We recommend using summary because it reduces the feed size and increases your pageview. After that you need to click on the save changes button to store your settings.
在此选项下方,您还将看到显示RSS提要中帖子的全文或摘要的选项。 我们建议您使用摘要,因为它可以减少Feed的大小并增加您的综合浏览量。 之后,您需要单击保存更改按钮以存储您的设置。
That’s all, you have successfully limited the number of posts displayed in RSS feed of your site. You may also want to take a look at our guide on how to add post thumbnails in RSS feed, and how to add social buttons into your RSS feed. If you are using FeedBurner for RSS feeds on your site, then we would like you to checkout our article on FeedBurner alternatives.
就是这样,您已经成功限制了网站的RSS提要中显示的帖子数量。 您可能还需要看一下我们的指南,了解如何在RSS feed中添加帖子缩略图 ,以及如何在RSS feed中添加社交按钮 。 如果您在网站上使用FeedBurner for RSS feed,那么我们希望您查阅有关FeedBurner替代品的文章。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.
如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在Twitter和Google+上找到我们。
翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-limit-the-number-of-posts-displayed-in-rss-feed/
wordpress上传限制