[英]Rss feed for a category in wordpress
I want to get the RSS Feed for only one specific category in wordpress.我想在 wordpress 中只获取一个特定类别的 RSS 提要。 Anyone can help me?
任何人都可以帮助我吗?
wordpress 中的特定类别:
http://example.com/category/categoryname/feed
Typically, unless you've done some modifications to the core of Wordpress, you can add "/feed" at the end of a category URL and that will give you the RSS feed.通常,除非您对 Wordpress 的核心进行了一些修改,否则您可以在类别 URL 的末尾添加“/feed”,这将为您提供 RSS 提要。
For instance, if you have a category "food" then your RSS feed would be example.com/food/feed例如,如果您有一个类别“食物”,那么您的 RSS 提要将是 example.com/food/feed
If you have a category base set under permalink settings /wp-admin/options-permalink.php then it would be example.com/your-category-base/food/feed如果您在永久链接设置 /wp-admin/options-permalink.php 下设置了类别基础,那么它将是 example.com/your-category-base/food/feed
You can learn more about Feeds here: https://wordpress.org/support/article/wordpress-feeds/您可以在此处了解有关 Feed 的更多信息: https : //wordpress.org/support/article/wordpress-feeds/
Adding /feed
to the end of any URL makes you access the feed functionality provided by WordPress, including for categories.在任何 URL 的末尾添加
/feed
使您可以访问 WordPress 提供的提要功能,包括类别。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.