Tuesday, May 21, 2013

Recent comments widget for Blogger

Adding RECENT COMMENTS to a Blogger blog may be done in more than one ways such as:

Using the FEED URL
Editing the template

Recent comments using blog feed


Recent comments widget can be added to a Blogger blog using the feed URL as a work around for the lack of a recent comments widget by Blogger. The way to add is is to go your your Dashboard, click LAYOUT, then ADD A GADGET in the place you want it such as the sidebar. Then type in your blog feed URL such as http://YOURBLOG.blogspot.com making sure to replace YOURBLOG with the actual URL of your own blog as shown in the screenshot below:

Blogger feed URL widget

Then click CONTINUE and you will be presented with a CONFIGURE FEED popup. Then type in the title "Recent Comments" or any other title as you wish and tick the options you want as shown in the screenshot below:

Blogger feed widget

Click SAVE and you are done.

If you have a custom domain for your blog, you may also use the alternative feed URL such as http://www.YOURBLOG.com replacing YOURBLOG with the actual URL of your custom domain blog.

Recent comments by editing template


If you are comfortable with editing your blog template, you may also add this code to your template:

<MainPage>
<h2 class="sidebar-title">Recent Comments</h2>
<ul>
<Blogger>
<BlogItemCommentsEnabled>
<BlogItemComments>

<li><$BlogCommentAuthor$> //
<a href="<$BlogCommentPermalinkURL$>">
<$BlogCommentDateTime$></a></li>

</BlogItemComments>
</BlogItemCommentsEnabled>
</Blogger>
</ul>
</MainPage>

For more details, see Blogger: Recent comments in the sidebar

Credits:
Template blog: Show recent comments on Blogger

No comments:

Post a Comment

Find help, info, instructions, tips, tricks

Tip: Use search box below or this box, labels in the first right sidebar, archive, ctrl+F for this page or sitemap to find topics