Wordpress comments RSS feed for posts by a single author


Nitin Venkatesh's Gravatar

Nitin Venkatesh
published Nov. 23, 2014, 6:31 a.m.


Wordpress offers a plethora of RSS feeds right out of the box. It's pretty well-documented at the Wordpress.org Codex - Wordpress Feeds page.

One thing that was missing from the documentation, and for which I was actually looking for when combing through it in the first place, is the hidden feature of retrieving all comments made on posts by a specific author. How do we achieve this? By adding a GET parameter to our feed.

So, instead of accessing my comments RSS by something like http://192.168.56.101/wordpress/?feed=comments-rss2 , I'd use http://192.168.56.101/wordpress/?feed=comments-rss2&author=2 . So all we need to do is add a &author=[author-ID] to access comments made on posts written by a particular author.

Note: This method will work only if the permalink is set to be default. You can change this from the Admin dashboard under Settings->Permalinks.