How to create this widget is not too difficult, you don’t need to change your blog’s HTML code, all you need is to add HTML code to your blog’s layout. Apart from being useful as I explained above, this most commented widget also certainly beautifies the appearance of your blog because it is quite light and elegant. Here’s how to create the most comments widget on your blog.
Most comments widget on Blogger
- Login your blogger account/ layout/ Add HTML or Javascript.
- Enter the code below then save
- HTML/Javascript code you must enter:
function getYpipePP(feed) { document.write('
');
var i; for (i = 0; i < feed.count ; i++) { var href = "'" + feed.value.items[i].link + "'"; var pTitle = feed.value.items[i].title; var pComment = + feed.value.items[i].commentcount; var pList="
Note: Replace the red color with your blog’s url address, replace the blue color according to the number of comments that will be displayed.