Create an Author Comments Feed in WordPress

Create an author comments feed to track down all of his post in Wordpress

In recent years blogs have become so popular that and they’re one of the most common ways people get their daily dose of information. It’s not possible for a single person to provide quality content everyday. As a result, major websites are accepting  guest authors to provide quality content on a regular basis. Authors have to view comments of each post regularly and Rakhitha Nimesh can tell you that is very hard if you have written a large number of posts. In this tutorial he is going to ease this task by creating an author comments feed for the comments of all posts written by a single author. Then you will be able to view all the comments in one place. So Lets get started.

 

Although Rakhitha Nimesh can create his functionality in the functions.php file of the theme, it’s always recommended to create an independent plugin for custom functionality. So let’s create a folder called Author-Comments-Feed inside the wp-content/plugins folder and insert the code to index.php file. It is used to provide information about the plugin. Now you will be able to see your plugin in the plugin list on the admin dashboard. So let’s move onto adding your RSS feed. WordPress provides a default set of RSS feeds for posts, comments, categories etc. Also you are allowed to create custom RSS feeds using the add_feed function.

Comments

Be the first to write a comment

You must me logged in to write a comment.