Popular Posts Widget for Blogger - Official

Blogger introduced the new Popular Posts Widget. Everybody must have heard of Blogger stats. This Popular Posts widget collects the data from these stats from your blog posts which have been mostly viewed by your readers and transforms it into popular posts.

To add this widget, go to Design > Page elements tab and click “Add a Gadget”.

Popular Posts Widget

Now all is left is to add the Popular Posts widget and drag it to your desired position.

You can also configure this widget. For example, you can select whether you want to show posts that are popular for all time or for last 30 days or for the last week. Next you can also select weather do you want to show only posts titles or tiles with snippet or both with images. And lastly you can configure the number of posts you want it to show (max 10).

Popular Posts Gadget

Styling the Popular Posts Gadget (Optional)

Now let’s have an example of the CSS part. In some customized templates, you may see that when you add this widget, it may not match with the list style of your template that are added to your sidebar. It’s because of the default padding for this widget is .75em for top and bottom. So for this you may try:

.PopularPosts .widget-content ul li {
padding:.5em 0;
}

Go to Design > Edit HTML tab and just before ]]></b:skin> add the above snippet. I have used “.5em” while you can change this by lessening or by increasing its value, suppose “.25em” or “.6em” or you can replace “em” with pixels like “2px”, whichever you finds to be convenient.

Show the Number of Pageviews for Blogger Blogs

Blogger also introduced Blog’s stats gadget which displays total pageviews of your blog. However, the total pageviews will be counted from the day when Blogger team enabled this feature. To add this widget, the process is same as above.

blogger Stats Gadget

Popular posts from this blog

How to Resize Blogger Header to Logo Size

Google Penguin update hit me Hard