5
comments
How to Add Recent Comments Widget in Blogger

Recent Comments Widget will display excerpts of the most recent comments that have been posted to the articles in your blog. While displaying recent comments you can customize number of comments and comment excerpts size.

Blogger Recent Comments Widget

You can choose whether to display the post title and comment date or not. Below is a steps on How to Add Recent Comments Widget in Blogger.

Steps to Add Recent Comments Widget in Blogger


#Step 1. Log in to your Blogger Dashboard and Navigate to Layout > Page Elements.

Layout - Page Elements

#Step 2. Click on Add a Gadget from layout where you want to put your recent comments and select HTML/javaScript.

Page Layout A2Z


#Step 3. Put the code given below in HTML/javaScript Page Element after making highlighted changes if you want.
<script style='text/javascript' src='http://sites.google.com/site/besthowtoblogger/about-me/recentcommentswidgets.js'></script>
<script style='text/javascript'>var a_rc=5;var m_rc=true;var n_rc=true;var o_rc=100;</script><script src='http://bloggerhowtotips.blogspot.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments'></script>

First Replace the blog url with your Blog URL in above code, and then change the below items as per your requirements.

var a_rc=5 ( Defines number of comments to display on blogger)

var m_rc=true ( Shows comment date, if False will not display comment date)

var n_rc=true (Shows Post Title , if False will not display Post Title)

var o_rc=100 ( Shows how much summarize text you want to show for the comments, you can change it as per your requiremnts)

#Step 4. Click Save and done!.


5 Responses to "How to Add Recent Comments Widget in Blogger" - Leave a response

  1. Gaus Rahman Piash August 12, 2010 at 11:42 PM
    Dear, Piyush, my name is Piash. Have some similarities with your name. Aneway, your blog has some rare tips. Also your presentation graphics is very nice. Bro, which software did you use to draw the arrow and lines in page element tutorial?
  2. Piyush - Admin @ Best How To Blogger August 14, 2010 at 6:18 AM
    @Piash, I am using Faststone Capture Demo version to take a snap shots, there are plenty of software's are available in the market for the same purpose, but i like Faststone screen capture more.
  3. Maey November 8, 2010 at 1:18 PM
    hi, how did you make your blogger comment countable...i mean, in the comment page, it show comment count.also show commentators profile. just like comment above...owh, sorry for my bad english.hope you understand.
  4. Piyush - Admin @ Blogger How To Tips November 21, 2010 at 2:19 PM
    @Maey, i just use some javaScript code to display comment count and blogger profile is showing normally as blogger itself supporting this feature :)

Post a Comment

^ Scroll to Top