Mark Zahra
Mark has been involved with WP RSS Aggregator for almost a decade, from running customer support to now leading RebelCode, the company behind the plugin, as CEO. He has a passion for content and news, especially the concept of ethically sharing content to help each other grow.
Mark Zahra
✨ Just Launched
Rewrite RSS feeds into original content
Publishers
Generate and publish unique content based on trusted sources.
Industry Insights
Rewrite industry updates in a voice your audience understands.
News Outlets
Share news from various outlets, rewritten into original pieces.
Table of contents
Streamline your
content-sharing process
Get started with WP RSS Aggregator today and unlock the full potential of RSS feeds!
RSS Tricks: How To Provide an RSS Feed for a Post’s Comments
This RSS trick isn’t much of a trick at all.
In fact it’s a function that’s built right into WordPress, but one that very few know of.
We’ve all come across a post that has a long (and I mean LONG) list of comments associated with it. Keeping track of these comments can be hard for the author, let alone the readers.
The Fix
This is why WordPress offers the following function to provide an RSS feed specifically for the comments of a particular post.
<?php post_comments_feed_link('» Comments RSS Feed'); ?>Now there are 2 ways that you can implement this:
function my_wp_list_comments_args( $args ) { post_comments_feed_link( '» Comments RSS Feed' ); // Don't forget to return the original arguments return $args; } add_filter( 'wp_list_comments_args', 'my_wp_list_comments_args' );How It Works
Calling this line of code will simply call the post_comments_feed_link() function that provides an RSS feed for the comments of a specific post, making it easier for your readers to keep track of those many, many comments.
Source: WP Recipes
Article by
Mark Zahra
Article by
Mark Zahra
Related Articles
Cryptoheadlines.com: 5 Ways to Build Your News Site with Aggregator Pro
Cryptoheadlines.com turns feeds from more than 20 crypto outlets into one news page readers can browse by topic. Aggregator Pro brings in those feeds. Here’s how to import, filter and summarize news on your own WordPress site, with no code.
Atom vs RSS: What’s the Difference, and Does It Matter?
RSS and Atom are two formats for the same job. See one post in both, which big sites use which, and how to tell a feed’s format in seconds.
News RSS Feeds That Still Work (Tested October 2026)
The news RSS feeds that still work in 2026, from the BBC and NPR to the WSJ and Bloomberg, plus what to use now that CNN, Reuters and AP have gone quiet.