Comments for RSS Readers: Suggest Your RSS Readers To Post Comments

StevenWordPress

One of the very nice things about blogging is that your readers can leave comments on your posts just minutes after you publish them. However, as you allow your readers to subscribe to your RSS Feed to read your posts, they do not visit your site directly so they might not think about leaving comments.

One of the things you can do is add a message at the end of your posts in your RSS Feed to let your readers know that the discussion is open and suggesting them to comment.

The issue is that you may want to selectively decide to open comments on certain posts but not on all of them. In that case, you may want to let your readers know if the comments are opened or not. It will prevent them from clicking to visit your site with the intention of leaving comments only to discover that comments are closed.

To suggest your blog visitors to leave comments in your RSS Feed, paste the following code in the functions.php file of your WordPress theme:

function rss_comment_footer( $content ) {
  if ( is_feed() ) {
    if ( comments_open() ) {
      $content .= "\n\nComment is open. You can participate in the discussion by visiting here\n";
    }
  }
  return $content;
}

Learn how I made $33,543 online in the past 12 months.

Simply input your best email below to get started.

Learn how I made $33,543 online in the past 12 months.

Simply input your best email below to get started.

No thanks, I have enough money