This Widget Displays posts from a particular Label on your blog’s Sidebar. The display can be customized just like the Recent and Random Posts Widgets. The Widget includes resizable Post Thumbnails.
I have made two different versions of this Widget:
1. Featured Posts Gadget Using the Blogger Gadget API
This Gadget is much easier to configure. The screenshot shows the various options available in the Gadget
I will explain a few of the Options
Name of the Featured Label – This is the name of the label from which the Gadget should pull posts from. This field is case sensitive, and if you don’t fill this properly, the Gadget wont work.
Maximum Length of Post Title – If the post title is more than this length(in characters), then the rest of it will be chopped off.If you don’t want to show the post title, set this to 0
Summary Length – The Gadget can display a excerpt of the Post. If the excerpt is longer than the summary length, then the rest will be chopped off.
Feed – Summary Feeds will be faster. You can change to Full Feed if you need YouTube Thumbnails, but it would be slower.
I need a Grid Layout. What should I do?
Use these Settings:
- Maximum Length of the Post Title : 0
- Snippet Style : Thumbnail Only
- Post Meta Style : None
- Extra Styling : Float Image to Left
- Border Color : No Border
The other options can be set according to your needs.Use this button to add the Featured Posts Gadget to Blogger
This has a Few Extra Settings:
- Blog URL: This should be the URL of a blogger Blog. If you are installing the Widget on the same blog then you can leave this field blank . This field is useful for those who have multiple blogs..
- Show Default Thumbnail – If this option is selected, and your post doesn’t have an image, then a default image will be displayed.
- Thumbnail Margin – You can set a 5px margin to the image, so that the thumbnail stays apart from the post summary. You can override the margin by selecting No.(You can then manually style it using CSS)
- Sorting – Helps you in displaying the recently published posts or recently updated posts from the featured Label.
- Grid Layout – This button will automatically adjust the settings to give you a grid like layout.
Other Fields are similar to those in Method 1, or are self explanatory..Use this button to add the Featured Posts Widget:
1. Default Thumbnail
If the Widget is unable to find an image in the Post and if Options 4 and 5 are checked, then the Gadget will use the following image by default
If you want to change this default thumbnail, then you will have to first upload the Thumbnail somewhere. The best place to upload is blogger. So create a new post(or edit an existing one) and add the image to the post. Now Switch to the Edit HTML view of the Post Editor. There you will find a URL which contains “/s1600/” in it. Copy that URL. Change /s1600/ to /s72-c/. So finally you will get some URL like
(Off course you will have to edit the above line)
If you are not sure where to add the variable, then add it just before
Save the Gadget and you are done.
2. CSS Styling:
You can add your CSS at Template Designer > Advanced > Add CSS
Some Sample CSS snippets are there in the comments.
3. Tracking the Widget Usage
I have appended a utm_src parameter to the recent post URLs.This will help you in tracking the widget usage from your Google Analytics account(Traffic Sources > Campaigns).
4. Remove the Powered By Link
If you can’t stand the powered by Link at the bottom of the widget, then you can hide it. To do that Add this CSS snippet :( :(
If you don’t know how to add CSS read the CSS Styling (2) part in these Advanced Options.
If you like this Gadget, please share it with other Bloggers :)