wordpress上传限制_如何限制WordPress RSS Feed中的帖子数量

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

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视频教程。 您也可以在TwitterGoogle+上找到我们。

翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-limit-the-number-of-posts-displayed-in-rss-feed/

wordpress上传限制

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值