{"id":7563,"date":"2023-12-06T20:56:30","date_gmt":"2023-12-06T12:56:30","guid":{"rendered":"https:\/\/wpeyes.com\/wordpress\/?p=7563"},"modified":"2023-12-06T21:02:55","modified_gmt":"2023-12-06T13:02:55","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-wordpress-%e4%b8%ad%e5%88%9b%e5%bb%ba%e8%87%aa%e5%ae%9a%e4%b9%89-rss-%e6%ba%90","status":"publish","type":"post","link":"https:\/\/wpeyes.com\/wordpress\/archives\/7563","title":{"rendered":"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90"},"content":{"rendered":"\n<p>\u60a8\u60f3\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u5417\uff1f<\/p>\n\n\n\n<p>WordPress \u9644\u5e26\u4e00\u4e2a\u9ed8\u8ba4\u7684<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/what-is-rss-how-to-use-rss-in-wordpress\/\">RSS \u6e90<\/a>\uff0c\u7528\u4e8e\u663e\u793a\u60a8\u7684\u7f51\u7ad9\u5185\u5bb9\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u6709\u7279\u5b9a\u7c7b\u578b\u7684\u5185\u5bb9\uff0c\u90a3\u4e48\u60a8\u53ef\u80fd\u9700\u8981\u4e3a\u5176\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u3002<\/p>\n\n\n\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5728 WordPress \u4e2d\u8f7b\u677e\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-og.png\" alt=\"\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\" class=\"wp-image-232817\" title=\"\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\uff1f<\/h4>\n\n\n\n<p>WordPress \u5e26\u6709\u5185\u7f6e\u7684 RSS \u6e90\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u5411\u5176\u4e2d<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-content-and-completely-manipulate-your-wordpress-rss-feeds\/\">\u6dfb\u52a0\u81ea\u5b9a\u4e49\u5185\u5bb9<\/a>\u6216<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-post-thumbnail-to-your-wordpress-rss-feeds\/\">\u7f29\u7565\u56fe\u3002<\/a><\/p>\n\n\n\n<p>\u4f46\u662f\uff0c\u5982\u679c\u60a8\u7684 WordPress \u7f51\u7ad9\u4e0a\u6709\u7279\u5b9a\u7c7b\u578b\u7684\u5185\u5bb9\u6216\u5e16\u5b50\u7c7b\u578b\uff0c\u90a3\u4e48\u60a8\u53ef\u80fd\u9700\u8981\u4e3a\u5176\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u3002<\/p>\n\n\n\n<p>\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u5411\u8ba2\u9605\u8005\u63d0\u4f9b\u6765\u81ea\u7279\u5b9a\u4f5c\u8005\u7684\u72ec\u5bb6\u5185\u5bb9\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\uff0c\u8ba9\u8ba2\u9605\u8005\u968f\u65f6\u4e86\u89e3\u8be5\u5185\u5bb9\u3002<\/p>\n\n\n\n<p>\u6b64\u5916\uff0c\u81ea\u5b9a\u4e49\u6e90\u8fd8\u5141\u8bb8\u60a8\u6dfb\u52a0\u4f5c\u8005\u59d3\u540d\u3001\u53d1\u5e03\u65e5\u671f\u6216\u4efb\u4f55\u5176\u4ed6\u76f8\u5173\u4fe1\u606f\uff0c\u4ece\u800c\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u4ece\u800c\u4e3a\u60a8\u63d0\u4f9b\u66f4\u591a\u81ea\u7531\u3002<\/p>\n\n\n\n<p>\u8bdd\u867d\u5982\u6b64\uff0c\u8ba9\u6211\u4eec\u4e00\u6b65\u6b65\u770b\u770b\u5982\u4f55\u5728 WordPress \u4e2d\u8f7b\u677e\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u3002<\/p>\n\n\n\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u5728\u5bf9\u5b9e\u65f6\u7f51\u7ad9\u8fdb\u884c\u4efb\u4f55\u91cd\u5927\u66f4\u6539\u4e4b\u524d\uff0c\u60a8\u5e94\u8be5\u521b\u5efa<a href=\"https:\/\/www.wpbeginner.com\/plugins\/keep-your-wordpress-content-safe-with-backupbuddy\/\">WordPress \u7f51\u7ad9\u7684\u5b8c\u6574\u5907\u4efd\u3002<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90<\/h4>\n\n\n\n<p>\u901a\u8fc7\u5c06\u81ea\u5b9a\u4e49\u4ee3\u7801\u6dfb\u52a0\u5230\u4e3b\u9898\u7684<a href=\"https:\/\/www.wpbeginner.com\/glossary\/functions-php\/\">functions.php<\/a>\u6587\u4ef6\u4e2d\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u5728WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49RSS \u6e90\u3002<\/p>\n\n\n\n<p>\u6b64\u63d0\u8981\u5c06\u663e\u793a WordPress \u7f51\u7ad9\u4e0a\u5e16\u5b50\u7684\u6807\u9898\u3001\u94fe\u63a5\u3001\u53d1\u5e03\u65e5\u671f\u3001\u4f5c\u8005\u548c\u6458\u5f55\u3002<\/p>\n\n\n\n<p>\u4f46\u662f\uff0c\u8bf7\u8bb0\u4f4f\uff0c\u952e\u5165\u6b64\u4ee3\u7801\u65f6\u51fa\u73b0\u7684\u6700\u5c0f\u9519\u8bef\u90fd\u53ef\u80fd\u4f1a\u7834\u574f\u60a8\u7684\u7f51\u7ad9\u5e76\u4f7f\u5176\u65e0\u6cd5\u8bbf\u95ee\u3002<\/p>\n\n\n\n<p>\u8fd9\u5c31\u662f\u6211\u4eec\u5efa\u8bae\u4f7f\u7528<a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode \u7684<\/a>\u539f\u56e0\u3002\u5b83\u662f\u5e02\u573a\u4e0a\u6700\u597d\u7684 WordPress \u4ee3\u7801\u7247\u6bb5\u63d2\u4ef6\uff0c\u53ef\u4ee5\u5b89\u5168\u3001\u8f7b\u677e\u5730\u5411\u60a8\u7684\u7f51\u7ad9\u6dfb\u52a0\u81ea\u5b9a\u4e49\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5\u5e76\u6fc0\u6d3b<a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode<\/a>\u63d2\u4ef6\u3002<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners\/\">\u6709\u5173\u8be6\u7ec6\u8bf4\u660e\uff0c\u8bf7\u53c2\u9605\u6709\u5173\u5982\u4f55\u5b89\u88c5 WordPress \u63d2\u4ef6\u7684<\/a>\u521d\u5b66\u8005\u6307\u5357\u3002<\/p>\n\n\n\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u60a8\u53ef\u4ee5\u5728\u672c\u6559\u7a0b\u4e2d\u4f7f\u7528<a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\" target=\"_blank\" rel=\"noreferrer noopener\">\u514d\u8d39\u7684 WPCode \u63d2\u4ef6<\/a>\u3002\u7136\u800c\uff0c\u5347\u7ea7\u5230\u4ed8\u8d39\u8ba1\u5212\u5c06\u89e3\u9501\u66f4\u591a\u529f\u80fd\uff0c\u5982\u6d4b\u8bd5\u6a21\u5f0f\u3001CSS \u7247\u6bb5\u9009\u9879\u3001\u4e91\u5e93\u3001\u6761\u4ef6\u903b\u8f91\u7b49\u3002<\/p>\n\n\n\n<p>\u6fc0\u6d3b\u540e\uff0c\u4ece WordPress \u4eea\u8868\u677f\u8bbf\u95ee<strong>\u4ee3\u7801\u7247\u6bb5 \u00bb + \u6dfb\u52a0\u7247\u6bb5\u9875\u9762\u3002<\/strong>\u5728\u8fd9\u91cc\uff0c\u5355\u51fb\u201c\u6dfb\u52a0\u81ea\u5b9a\u4e49\u4ee3\u7801\uff08\u65b0\u4ee3\u7801\u6bb5\uff09\u201d\u9009\u9879\u4e0b\u7684\u201c\u4f7f\u7528\u4ee3\u7801\u6bb5\u201d\u6309\u94ae\uff0c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2010\/09\/addnewsnippet.png\" alt=\"\u6dfb\u52a0\u65b0\u7247\u6bb5\" class=\"wp-image-194362\" title=\"\u6dfb\u52a0\u65b0\u7247\u6bb5\"\/><\/figure>\n\n\n\n<p>\u8fd9\u5c06\u5e26\u60a8\u8fdb\u5165\u201c\u521b\u5efa\u81ea\u5b9a\u4e49\u7247\u6bb5\u201d\u9875\u9762\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u8f93\u5165\u4ee3\u7801\u7247\u6bb5\u7684\u540d\u79f0\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u4ece\u53f3\u4fa7\u7684\u201c\u4ee3\u7801\u7c7b\u578b\u201d\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u201cPHP \u7247\u6bb5\u201d\u9009\u9879\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/choose-php-snippet-for-custom-rss-feed.png\" alt=\"\u9009\u62e9 PHP \u7247\u6bb5\u9009\u9879\u6765\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\" class=\"wp-image-232787\" title=\"\u9009\u62e9 PHP \u7247\u6bb5\u9009\u9879\u6765\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\"\/><\/figure>\n\n\n\n<p>\u5b8c\u6210\u6b64\u64cd\u4f5c\u540e\uff0c\u5c06\u4ee5\u4e0b\u81ea\u5b9a\u4e49\u4ee3\u7801\u6dfb\u52a0\u5230\u201c\u4ee3\u7801\u9884\u89c8\u201d\u6846\u4e2d\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011121314151617 \u53f7181920212223242526272829303132333435363738394041424344454647<\/td><td><code>add_action(<\/code><code>'init'<\/code><code>, <\/code><code>'customRSS'<\/code><code>);<\/code><code>function<\/code><code>customRSS(){<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>add_feed(<\/code><code>'Feed'<\/code><code>, <\/code><code>'customRSSFunc'<\/code><code>);<\/code><code>}<\/code><code>function<\/code><code>customRSSFunc(){<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>get_template_part(<\/code><code>'rss'<\/code><code>, <\/code><code>'feedname'<\/code><code>);<\/code><code>}&lt;?php<\/code><code>\/**<\/code><code>&nbsp;<\/code><code>* Template Name: Custom RSS Template - Feedname<\/code><code>&nbsp;<\/code><code>*\/<\/code><code>$postCount<\/code><code>= 5; <\/code><code>\/\/ The number of posts to show in the feed<\/code><code>$posts<\/code><code>= query_posts(<\/code><code>'showposts='<\/code><code>. <\/code><code>$postCount<\/code><code>);<\/code><code>header(<\/code><code>'Content-Type: '<\/code><code>.feed_content_type(<\/code><code>'rss-http'<\/code><code>).<\/code><code>'; charset='<\/code><code>.get_option(<\/code><code>'blog_charset'<\/code><code>), true);<\/code><code>echo<\/code><code>'&lt;?xml version=\"1.0\" encoding=\"'<\/code><code>.get_option(<\/code><code>'blog_charset'<\/code><code>).<\/code><code>'\"?'<\/code><code>.<\/code><code>'&gt;'<\/code><code>;<\/code><code>?&gt;<\/code><code>&lt;rss version=<\/code><code>\"2.0\"<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>xmlns:content=<\/code><code>\"http:\/\/purl.org\/rss\/1.0\/modules\/content\/\"<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>xmlns:wfw=<\/code><code>\"http:\/\/wellformedweb.org\/CommentAPI\/\"<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>xmlns:dc=<\/code><code>\"http:\/\/purl.org\/dc\/elements\/1.1\/\"<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>xmlns:atom=<\/code><code>\"http:\/\/www.w3.org\/2005\/Atom\"<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>xmlns:sy=<\/code><code>\"http:\/\/purl.org\/rss\/1.0\/modules\/syndication\/\"<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>xmlns:slash=<\/code><code>\"http:\/\/purl.org\/rss\/1.0\/modules\/slash\/\"<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;?php do_action(<\/code><code>'rss2_ns'<\/code><code>); ?&gt;&gt;<\/code><code>&lt;channel&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;title&gt;&lt;?php bloginfo_rss(<\/code><code>'name'<\/code><code>); ?&gt; - Feed&lt;\/title&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;atom:link href=<\/code><code>\"&lt;?php self_link(); ?&gt;\"<\/code><code>rel=<\/code><code>\"self\"<\/code><code>type=<\/code><code>\"application\/rss+xml\"<\/code><code>\/&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;link&gt;&lt;?php bloginfo_rss(<\/code><code>'url'<\/code><code>) ?&gt;&lt;\/link&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;description&gt;&lt;?php bloginfo_rss(<\/code><code>'description'<\/code><code>) ?&gt;&lt;\/description&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;lastBuildDate&gt;&lt;?php <\/code><code>echo<\/code><code>mysql2date(<\/code><code>'D, d M Y H:i:s +0000'<\/code><code>, get_lastpostmodified(<\/code><code>'GMT'<\/code><code>), false); ?&gt;&lt;\/lastBuildDate&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;language&gt;&lt;?php <\/code><code>echo<\/code><code>get_option(<\/code><code>'rss_language'<\/code><code>); ?&gt;&lt;\/language&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;sy:updatePeriod&gt;&lt;?php <\/code><code>echo<\/code><code>apply_filters( <\/code><code>'rss_update_period'<\/code><code>, <\/code><code>'hourly'<\/code><code>); ?&gt;&lt;\/sy:updatePeriod&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;sy:updateFrequency&gt;&lt;?php <\/code><code>echo<\/code><code>apply_filters( <\/code><code>'rss_update_frequency'<\/code><code>, <\/code><code>'1'<\/code><code>); ?&gt;&lt;\/sy:updateFrequency&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;?php do_action(<\/code><code>'rss2_head'<\/code><code>); ?&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;?php <\/code><code>while<\/code><code>(have_posts()) : the_post(); ?&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;item&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;title&gt;&lt;?php the_title_rss(); ?&gt;&lt;\/title&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;link&gt;&lt;?php the_permalink_rss(); ?&gt;&lt;\/link&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;pubDate&gt;&lt;?php <\/code><code>echo<\/code><code>mysql2date(<\/code><code>'D, d M Y H:i:s +0000'<\/code><code>, get_post_time(<\/code><code>'Y-m-d H:i:s'<\/code><code>, true), false); ?&gt;&lt;\/pubDate&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;dc:creator&gt;&lt;?php the_author(); ?&gt;&lt;\/dc:creator&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;guid isPermaLink=<\/code><code>\"false\"<\/code><code>&gt;&lt;?php the_guid(); ?&gt;&lt;\/guid&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;description&gt;&lt;![CDATA[&lt;?php the_excerpt_rss() ?&gt;]]&gt;&lt;\/description&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;content:encoded&gt;&lt;![CDATA[&lt;?php the_excerpt_rss() ?&gt;]]&gt;&lt;\/content:encoded&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;?php rss_enclosure(); ?&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;?php do_action(<\/code><code>'rss2_item'<\/code><code>); ?&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;\/item&gt;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>&lt;?php <\/code><code>endwhile<\/code><code>; ?&gt;<\/code><code>&lt;\/channel&gt;<\/code><code>&lt;\/rss&gt;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u66ff\u6362\u4ee3\u7801\u4e2d\u884c<code>Feed<\/code>\u540e\u7684\u6587\u672c\uff0c\u5c06\u81ea\u5b9a\u4e49 RSS \u6e90\u7684\u540d\u79f0\u66f4\u6539\u4e3a\u60a8\u559c\u6b22\u7684\u4efb\u4f55\u540d\u79f0\u3002<code>add_feed<\/code><\/p>\n\n\n\n<p>\u521b\u5efa\u6b64 Feed \u540e\uff0c\u60a8\u5c31\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee<em>yourdomain.com\/feed\/feedname<\/em>&nbsp;URL \u6765\u67e5\u770b\u5b83\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/type-custom-feed-name.png\" alt=\"\u5728\u4ee3\u7801\u4e2d\u8f93\u5165\u81ea\u5b9a\u4e49\u63d0\u8981\u540d\u79f0\" class=\"wp-image-232789\" title=\"\u5728\u4ee3\u7801\u4e2d\u8f93\u5165\u81ea\u5b9a\u4e49\u63d0\u8981\u540d\u79f0\"\/><\/figure>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u5411\u4e0b\u6eda\u52a8\u5230\u63d2\u5165\u90e8\u5206\u5e76\u9009\u62e9\u201c\u81ea\u52a8\u63d2\u5165\u201d\u6a21\u5f0f\u3002<\/p>\n\n\n\n<p>\u81ea\u5b9a\u4e49 RSS \u6e90\u5c06\u5728\u4ee3\u7801\u6fc0\u6d3b\u540e\u81ea\u52a8\u521b\u5efa\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2011\/04\/choose-an-insertion-method-1.png\" alt=\"\u9009\u62e9\u63d2\u5165\u65b9\u6cd5\" class=\"wp-image-172164\" title=\"\u9009\u62e9\u63d2\u5165\u65b9\u6cd5\"\/><\/figure>\n\n\n\n<p>\u6700\u540e\uff0c\u6eda\u52a8\u56de\u5230\u9876\u90e8\u5e76\u5c06\u201c\u975e\u6d3b\u52a8\u201d\u5f00\u5173\u5207\u6362\u4e3a\u201c\u6d3b\u52a8\u201d\u3002<\/p>\n\n\n\n<p>\u4e4b\u540e\uff0c\u5355\u51fb\u201c\u4fdd\u5b58\u7247\u6bb5\u201d\u6309\u94ae\u6765\u5b58\u50a8\u60a8\u7684\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/save-custom-rss-feed-snippet.png\" alt=\"\u4fdd\u5b58\u81ea\u5b9a\u4e49 RSS \u6e90\u81ea\u5b9a\u4e49\u4ee3\u7801\u6bb5\" class=\"wp-image-232795\" title=\"\u4fdd\u5b58\u81ea\u5b9a\u4e49 RSS \u6e90\u81ea\u5b9a\u4e49\u4ee3\u7801\u6bb5\"\/><\/figure>\n\n\n\n<p>\u5b8c\u6210\u6b64\u64cd\u4f5c\u540e\uff0c\u8bf7\u4ece WordPress \u4eea\u8868\u677f\u8bbf\u95ee<strong>\u201c\u8bbe\u7f6e\u201d\u00bb\u201c\u6c38\u4e45\u94fe\u63a5\u201d\u9875\u9762\u3002<\/strong><\/p>\n\n\n\n<p>\u5728\u8fd9\u91cc\uff0c\u53ea\u9700\u5355\u51fb\u201c\u4fdd\u5b58\u66f4\u6539\u201d\u6309\u94ae\u5373\u53ef\u5237\u65b0\u91cd\u5199\u89c4\u5219\u5e76\u4e3a\u60a8\u7684\u7f51\u7ad9<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-regenerate-your-permalinks-in-wordpress\/\">\u751f\u6210\u65b0\u7684\u6c38\u4e45\u94fe\u63a5<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2023\/03\/check-permalinks-2.png\" alt=\"\u68c0\u67e5\u56fa\u5b9a\u94fe\u63a5\" class=\"wp-image-174700\" title=\"\u68c0\u67e5\u56fa\u5b9a\u94fe\u63a5\"\/><\/figure>\n\n\n\n<p>\u60a8\u73b0\u5728\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee<em>yourdomain.com\/feed\/feedname<\/em>&nbsp;URL \u67e5\u770b\u81ea\u5b9a\u4e49 RSS \u6e90\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.wpbeginner.com\/guides\/\">\u4ee5\u4e0b\u662f\u6211\u4eec\u7684\u6f14\u793aWordPress \u7f51\u7ad9<\/a>\u4e0a\u7684\u81ea\u5b9a\u4e49 RSS \u6e90\u7684\u793a\u4f8b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/custom-rss-feed-previe.png\" alt=\"\u81ea\u5b9a\u4e49 RSS \u6e90\u9884\u89c8\" class=\"wp-image-232809\" title=\"\u81ea\u5b9a\u4e49 RSS \u6e90\u9884\u89c8\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u5956\u52b1\uff1a\u89e3\u51b3\u81ea\u5b9a\u4e49 RSS \u63d0\u8981\u95ee\u9898<\/h4>\n\n\n\n<p>\u4ee5\u4e0b\u5217\u51fa\u4e86\u5c1d\u8bd5\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u65f6\u53ef\u80fd\u51fa\u73b0\u7684\u4e00\u4e9b\u9519\u8bef\u4ee5\u53ca\u89e3\u51b3\u8fd9\u4e9b\u9519\u8bef\u7684\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p><strong>\u6211\u5728\u5c1d\u8bd5\u67e5\u770b\u6211\u7684 Feed \u65f6\u6536\u5230 404 \u9519\u8bef\uff01<\/strong><\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u5728\u5c1d\u8bd5\u67e5\u770b\u81ea\u5b9a\u4e49 Feed \u65f6\u6536\u5230 404 \u9519\u8bef\uff0c\u8bf7\u68c0\u67e5\u60a8\u5728 URL \u4e2d\u4f7f\u7528\u7684 Feed \u540d\u79f0\u662f\u5426\u6b63\u786e\u3002<\/p>\n\n\n\n<p>\u5b83\u5fc5\u987b\u662f\u60a8\u5728\u51fd\u6570\u4e2d\u63d0\u4f9b\u7684\u90a3\u4e2a<code>add_feed<\/code>\u3002\u5982\u679c\u60a8\u6709\u6b63\u786e\u7684 feedname\uff0c\u90a3\u4e48\u60a8\u7684\u91cd\u5199\u89c4\u5219\u53ef\u80fd\u65e0\u6cd5\u6b63\u786e\u5237\u65b0\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u91cd\u65b0\u4fdd\u5b58\u6c38\u4e45\u94fe\u63a5\u8f7b\u677e\u5730\u505a\u5230\u8fd9\u4e00\u70b9\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u91cd\u65b0\u4fdd\u5b58\u4e86\u6c38\u4e45\u94fe\u63a5\u5e76\u4e14\u95ee\u9898\u4ecd\u7136\u5b58\u5728\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u901a\u8fc7\u5728\u51fd\u6570\u65c1\u8fb9\u7684 WPCode \u7247\u6bb5\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\u6765\u5f3a\u5236\u91cd\u5199\u5237\u65b0<code>add_ feed<\/code>\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12<\/td><td><code>global<\/code><code>$wp_rewrite<\/code><code>;<\/code><code>$wp_rewrite<\/code><code>-&gt;flush_rules();<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p><strong>\u6211\u7684 Feed \u672a\u9a8c\u8bc1\uff01<\/strong><\/p>\n\n\n\n<p>W3C \u63d0\u4f9b\u4e86&nbsp;<a href=\"http:\/\/validator.w3.org\/feed\/\" target=\"_blank\" rel=\"noreferrer noopener\">Feed \u9a8c\u8bc1\u670d\u52a1<\/a>\uff0c\u5141\u8bb8\u60a8\u9a8c\u8bc1\u751f\u6210\u7684 Feed \u5e76\u63d0\u4f9b\u6709\u5173 Feed \u672a\u9a8c\u8bc1\u7684\u4f4d\u7f6e\u7684\u5177\u4f53\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u7f16\u8f91\u4ee3\u7801\u7247\u6bb5\u6765\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u3002<\/p>\n\n\n\n<p><strong>\u6211\u6536\u5230 &lt;language \/&gt; \u9a8c\u8bc1\u9519\u8bef\uff01<\/strong><\/p>\n\n\n\n<p>\u5f53\u60a8\u7684 WordPress \u5b89\u88c5\u4e2d\u5c1a\u672a\u914d\u7f6e RSS \u8bed\u8a00\u65f6\uff0c\u8fd9\u79cd\u60c5\u51b5\u5f88\u5e38\u89c1\u3002<\/p>\n\n\n\n<p>\u4e3a\u6b64\uff0c\u60a8\u53ef\u4ee5\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u5230 WPCode \u6765\u66f4\u65b0\u8bed\u8a00\u9009\u9879\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234<\/td><td><code>function<\/code><code>rssLanguage(){<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>update_option(<\/code><code>'rss_language'<\/code><code>, <\/code><code>'en'<\/code><code>);<\/code><code>}<\/code><code>add_action(<\/code><code>'admin_init'<\/code><code>, <\/code><code>'rssLanguage'<\/code><code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u5b8c\u6210\u6b64\u64cd\u4f5c\u540e\uff0c\u7f16\u8f91<code>update_option<\/code>\u51fd\u6570\u7684\u7b2c\u4e8c\u4e2a\u53c2\u6570\u4ee5\u5c06\u8bed\u8a00\u66f4\u6539\u4e3a\u60a8\u9700\u8981\u7684\u8bed\u8a00\u3002\u67e5\u770b&nbsp;<a href=\"http:\/\/www.rssboard.org\/rss-language-codes#table\" target=\"_blank\" rel=\"noreferrer noopener\">RSS \u8bed\u8a00\u4ee3\u7801<\/a>\u7684\u5b8c\u6574\u5217\u8868\u3002<\/p>\n\n\n\n<p>\u4fdd\u5b58\u4ee3\u7801\u7247\u6bb5\u540e\uff0c\u9519\u8bef\u5c06\u88ab\u5220\u9664\uff0c\u5e76\u4e14\u60a8\u5c06\u80fd\u591f\u67e5\u770b\u81ea\u5b9a\u4e49 RSS \u6e90\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u3002\u60a8\u53ef\u80fd\u8fd8\u60f3\u67e5\u770b\u6709\u5173<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-make-separate-rss-feed-for-each-category-in-wordpress\/\">\u5982\u4f55\u4e3a\u6bcf\u4e2a\u7c7b\u522b\u5236\u4f5c\u5355\u72ec\u7684 RSS \u6e90\u7684<\/a>\u6559\u7a0b\u4ee5\u53ca<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-optimize-your-wordpress-rss-feed\/\">\u4f18\u5316\u60a8\u7684 WordPress RSS \u6e90\u7684<\/a>\u4e13\u5bb6\u63d0\u793a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u60f3\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u5417\uff1f WordPress \u9644\u5e26\u4e00\u4e2a\u9ed8\u8ba4\u7684RSS \u6e90\uff0c\u7528\u4e8e\u663e &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\"> <span class=\"screen-reader-text\">\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":7565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[30],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 - WordPress\u4e2d\u6587<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 - WordPress\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u60a8\u60f3\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u5417\uff1f WordPress \u9644\u5e26\u4e00\u4e2a\u9ed8\u8ba4\u7684RSS \u6e90\uff0c\u7528\u4e8e\u663e &hellip; \u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\" \/>\n<meta property=\"og:site_name\" content=\"WordPress\u4e2d\u6587\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-06T12:56:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T13:02:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png\" \/>\n<meta name=\"author\" content=\"qmk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"qmk\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7563#article\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\"},\"author\":{\"name\":\"qmk\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\"},\"headline\":\"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\",\"datePublished\":\"2023-12-06T12:56:30+00:00\",\"dateModified\":\"2023-12-06T13:02:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\"},\"wordCount\":88,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\"},\"articleSection\":[\"\u6700\u4f73\u6559\u7a0b\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/archives\/7563#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\",\"name\":\"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 - WordPress\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\"},\"datePublished\":\"2023-12-06T12:56:30+00:00\",\"dateModified\":\"2023-12-06T13:02:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7563#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/archives\/7563\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7563#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u535a\u6587\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"wpbeginner\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u6700\u4f73\u6559\u7a0b\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\/tutorials\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"name\":\"WordPress\u4e2d\u6587\",\"description\":\"wpeyes\u6280\u672f\u89c6\u70b9\",\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\",\"name\":\"WordPress\u4e2d\u6587\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"contentUrl\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"width\":1000,\"height\":1000,\"caption\":\"WordPress\u4e2d\u6587\"},\"image\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\",\"name\":\"qmk\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g\",\"caption\":\"qmk\"},\"sameAs\":[\"https:\/\/wpeyes.com\"],\"url\":\"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 - WordPress\u4e2d\u6587","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpeyes.com\/wordpress\/archives\/7563","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 - WordPress\u4e2d\u6587","og_description":"\u60a8\u60f3\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u5417\uff1f WordPress \u9644\u5e26\u4e00\u4e2a\u9ed8\u8ba4\u7684RSS \u6e90\uff0c\u7528\u4e8e\u663e &hellip; \u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 Read More \u00bb","og_url":"https:\/\/wpeyes.com\/wordpress\/archives\/7563","og_site_name":"WordPress\u4e2d\u6587","article_published_time":"2023-12-06T12:56:30+00:00","article_modified_time":"2023-12-06T13:02:55+00:00","og_image":[{"url":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png"}],"author":"qmk","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png","twitter_misc":{"\u4f5c\u8005":"qmk","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7563#article","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7563"},"author":{"name":"qmk","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c"},"headline":"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90","datePublished":"2023-12-06T12:56:30+00:00","dateModified":"2023-12-06T13:02:55+00:00","mainEntityOfPage":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7563"},"wordCount":88,"commentCount":0,"publisher":{"@id":"https:\/\/wpeyes.com\/wordpress\/#organization"},"articleSection":["\u6700\u4f73\u6559\u7a0b"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpeyes.com\/wordpress\/archives\/7563#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7563","url":"https:\/\/wpeyes.com\/wordpress\/archives\/7563","name":"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90 - WordPress\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/#website"},"datePublished":"2023-12-06T12:56:30+00:00","dateModified":"2023-12-06T13:02:55+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7563#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/wordpress\/archives\/7563"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7563#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wpeyes.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"\u535a\u6587","item":"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article"},{"@type":"ListItem","position":3,"name":"wpbeginner","item":"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner"},{"@type":"ListItem","position":4,"name":"\u6700\u4f73\u6559\u7a0b","item":"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\/tutorials"},{"@type":"ListItem","position":5,"name":"\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90"}]},{"@type":"WebSite","@id":"https:\/\/wpeyes.com\/wordpress\/#website","url":"https:\/\/wpeyes.com\/wordpress\/","name":"WordPress\u4e2d\u6587","description":"wpeyes\u6280\u672f\u89c6\u70b9","publisher":{"@id":"https:\/\/wpeyes.com\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/wpeyes.com\/wordpress\/#organization","name":"WordPress\u4e2d\u6587","url":"https:\/\/wpeyes.com\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","contentUrl":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","width":1000,"height":1000,"caption":"WordPress\u4e2d\u6587"},"image":{"@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c","name":"qmk","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g","caption":"qmk"},"sameAs":["https:\/\/wpeyes.com"],"url":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png",250,250,false],"thumbnail":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png",150,150,false],"medium":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png",250,250,false],"medium_large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png",250,250,false],"large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png",250,250,false],"1536x1536":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png",250,250,false],"2048x2048":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/10\/how-to-create-custom-rss-feeds-in-wordpress-thumb.png",250,250,false]},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"},"uagb_comment_info":0,"uagb_excerpt":"\u60a8\u60f3\u5728 WordPress \u4e2d\u521b\u5efa\u81ea\u5b9a\u4e49 RSS \u6e90\u5417\uff1f WordPress \u9644\u5e26\u4e00\u4e2a\u9ed8\u8ba4\u7684RSS \u6e90\uff0c\u7528\u4e8e\u663e&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/7563"}],"collection":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/comments?post=7563"}],"version-history":[{"count":1,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/7563\/revisions"}],"predecessor-version":[{"id":7564,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/7563\/revisions\/7564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media\/7565"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=7563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/categories?post=7563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/tags?post=7563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}