{"id":1498,"date":"2006-07-12T20:35:50","date_gmt":"2006-07-12T15:05:50","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/"},"modified":"2026-10-21T15:36:56","modified_gmt":"2026-10-21T10:06:56","slug":"add-related-posts-to-your-feed-increase-pageviews","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/","title":{"rendered":"How to Add Related Posts to Your WordPress RSS Feed (2026)"},"content":{"rendered":"<p>A related posts list was the first plugin I ever installed on WordPress, back in 2006. Showing readers more of your articles on the same topic keeps them clicking, and it works in your feed as well as on your site. Here&#8217;s how to <strong>add related posts to your WordPress RSS feed<\/strong> in 2026, without hacking core feed files the way we had to back then, so feed readers and email subscribers find their way back to your site.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-67857\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/related-posts-rss-feed-2026.webp\" alt=\"Colorful puzzle pieces connecting, like related posts linking content\" width=\"1200\" height=\"630\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/related-posts-rss-feed-2026.webp 1200w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/related-posts-rss-feed-2026-300x158.webp 300w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/related-posts-rss-feed-2026-1024x538.webp 1024w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/related-posts-rss-feed-2026-150x79.webp 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/related-posts-rss-feed-2026-768x403.webp 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p><strong>Quick answer:<\/strong> The easiest way to add related posts to your WordPress RSS feed is the free Contextual Related Posts plugin, which can show related posts on your site and in your feed after each post. You can also append links with a small the_content filter that runs only on feeds. Use a full-text feed, keep the list to three to five links, and check the result in a feed reader.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6aec05006c62c\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6aec05006c62c\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Why_add_related_posts_to_your_feed\" >Why add related posts to your feed?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Method_1_Use_a_related_posts_plugin_with_feed_support\" >Method 1: Use a related posts plugin with feed support<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Method_2_Add_related_links_to_the_feed_with_code\" >Method 2: Add related links to the feed with code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Tips_for_related_posts_in_feeds\" >Tips for related posts in feeds<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#What_happened_to_FeedBurner\" >What happened to FeedBurner?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#FAQ\" >FAQ<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Can_I_show_related_posts_in_my_RSS_feed\" >Can I show related posts in my RSS feed?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Will_related_posts_in_my_feed_increase_pageviews\" >Will related posts in my feed increase pageviews?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Why_dont_my_related_posts_show_in_the_feed\" >Why don&#8217;t my related posts show in the feed?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/07\/add-related-posts-to-your-feed-increase-pageviews\/#Should_I_edit_wp-rss2php_to_customize_my_feed\" >Should I edit wp-rss2.php to customize my feed?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Why_add_related_posts_to_your_feed\"><\/span>Why add related posts to your feed?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Suggesting related articles targets each reader&#8217;s interest better than &#8220;previous \/ next&#8221; or &#8220;latest posts&#8221; links. On the site it raises pageviews, and in a feed it gives subscribers a reason to click through to your site instead of reading only in their feed reader or inbox. It also adds links back to your site in scraped copies of your feed; see more ways to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2013\/03\/stop-rss-feed-scraping-content-theft\/\">stop RSS feed scraping<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_1_Use_a_related_posts_plugin_with_feed_support\"><\/span>Method 1: Use a related posts plugin with feed support<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/contextual-related-posts\/\" target=\"_blank\" rel=\"noopener\">Contextual Related Posts<\/a>:<\/strong> free and actively updated. It shows related posts on your site and can add them to your feed after the content, with no template editing. Set how many posts to show in the feed separately from the site.<\/li>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/yet-another-related-posts-plugin\/\" target=\"_blank\" rel=\"noopener\">YARPP (Yet Another Related Posts Plugin)<\/a>:<\/strong> has a &#8220;display related posts in feeds&#8221; option, but its plugin page warns it hasn&#8217;t been tested with recent WordPress releases, so check compatibility first.<\/li>\n<li><strong>Jetpack Related Posts:<\/strong> easy to switch on for your site under Jetpack&#8217;s Traffic settings, but Jetpack doesn&#8217;t document feed support. Read our <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2012\/05\/best-wordpress-com-features-plugin\/\">Jetpack plugin review<\/a>.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Method_2_Add_related_links_to_the_feed_with_code\"><\/span>Method 2: Add related links to the feed with code<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In 2006 I had to edit WordPress&#8217;s wp-rss2.php file and paste the related posts code before the description and content tags, and redo it after every upgrade. Never edit core feed files today. Instead, add a filter in a child theme&#8217;s functions.php or a code snippets plugin. This simple version lists three recent posts from the same category, only inside feeds:<\/p>\n<pre><code>add_filter( 'the_content', function ( $content ) {\n    if ( ! is_feed() ) {\n        return $content;\n    }\n    $cats = wp_get_post_categories( get_the_ID() );\n    if ( empty( $cats ) ) {\n        return $content;\n    }\n    $related = get_posts( array(\n        'category__in'   =&gt; $cats,\n        'post__not_in'   =&gt; array( get_the_ID() ),\n        'posts_per_page' =&gt; 3,\n    ) );\n    if ( $related ) {\n        $content .= '&lt;p&gt;&lt;strong&gt;Related posts:&lt;\/strong&gt;&lt;\/p&gt;&lt;ul&gt;';\n        foreach ( $related as $post ) {\n            $content .= '&lt;li&gt;&lt;a href=\"' . esc_url( get_permalink( $post ) ) . '\"&gt;' . esc_html( get_the_title( $post ) ) . '&lt;\/a&gt;&lt;\/li&gt;';\n        }\n        $content .= '&lt;\/ul&gt;';\n    }\n    return $content;\n} );<\/code><\/pre>\n<p>Back up your site before adding code, and test on a staging copy if you can.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Tips_for_related_posts_in_feeds\"><\/span>Tips for related posts in feeds<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Use a full-text feed.<\/strong> In <strong>Settings &gt; Reading<\/strong>, set &#8220;For each post in a feed, include&#8221; to Full text. Related links added to the content may not appear in excerpt-only feeds.<\/li>\n<li><strong>Keep it short.<\/strong> Three to five links is enough. I once showed ten related posts on the site but only wanted five in the feed; modern plugins let you set the two separately.<\/li>\n<li><strong>Clear your cache.<\/strong> Caching plugins can delay feed updates; see how to fix <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2013\/03\/wordpress-caching-plugin-delay-rss-feed-updates\/\">caching plugins delaying RSS feeds<\/a>.<\/li>\n<li><strong>Check your feed.<\/strong> Open yoursite.com\/feed\/ in a browser or a reader such as <a href=\"https:\/\/www.inoreader.com\/\" target=\"_blank\" rel=\"noopener\">Inoreader<\/a> to confirm the links show up.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"What_happened_to_FeedBurner\"><\/span>What happened to FeedBurner?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Back then I sent my feed through FeedBurner and had to switch off its &#8220;Summary Burner&#8221; for related posts to appear. Google put FeedBurner into maintenance mode in 2021 and ended its email subscriptions, so most sites now serve their own WordPress feed and use a newsletter tool for email. We also wrote about <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2009\/05\/feedburner-rss-feed-size\/\">FeedBurner feed size limits<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"FAQ\"><\/span>FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Can_I_show_related_posts_in_my_RSS_feed\"><\/span>Can I show related posts in my RSS feed?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Yes. Use a plugin with a feed option, such as Contextual Related Posts, or add a the_content filter that runs only on feeds.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Will_related_posts_in_my_feed_increase_pageviews\"><\/span>Will related posts in my feed increase pageviews?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>They give subscribers more reasons to click through to your site, which can increase pageviews from feed and email readers.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_dont_my_related_posts_show_in_the_feed\"><\/span>Why don&#8217;t my related posts show in the feed?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Check that your feed shows full text, that the plugin&#8217;s feed option is on, and clear any page cache. Some feed readers also cache feeds for a while.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Should_I_edit_wp-rss2php_to_customize_my_feed\"><\/span>Should I edit wp-rss2.php to customize my feed?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>No. Core files are overwritten by updates. Use plugins or filters in a child theme instead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A related posts list was the first plugin I ever installed on WordPress, back in 2006. Showing readers more of&#8230;<\/p>\n","protected":false},"author":4,"featured_media":67857,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6],"tags":[17],"class_list":["post-1498","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogging","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/1498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=1498"}],"version-history":[{"count":2,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/1498\/revisions"}],"predecessor-version":[{"id":67872,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/1498\/revisions\/67872"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/67857"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=1498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=1498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=1498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}