htw

Recent Posts Widget with Thumbnails for Blogger/Blogspot

A few days ago, I posted a tutorial on How to Add a Simple Recent Posts Widget that shows a list with the most recent posts if you would prefer a more minimalist look. In this post, you will see a different way of displaying the Recent Posts on Blogger - this is specially for those who want to show more info like the recent posts excerpt / summary and the posts thumbnails.

To add this gadget is very simple, just follow these steps below:


recent posts, blogger widgets


How to Add the Recent Posts Widget to Blogger


Step 1. From your Blogger Dashboard, go to Layout > click on Add a Gadget link



Step 2. From the pop-up window, scroll down and choose HTML/JavaScript


Step 3. Inside the empty box, add the following code:
<div class="eggTray">
<script src="http://helplogger.googlecode.com/svn/trunk/listbadge.js">{"pipe_id":"1a6640e2a78b2c6e736f2220529daae5","_btype":"list",
"pipe_params":{"URL":"YOUR BLOG.blogspot.com/feeds/posts/default"},
"hideHeader":"false","height":"500","count": 8 }</script>
<div style="font-family: arial, sans-serif; font-size: 9px;" class="ycdr"><a href="http://droidbuzzz.blogspot.com/2014/07/recent-posts-widget-with-thumbnails-for.html" target="_blank" title="Grab this widget">Recent Posts Thumbnails</a> <a href="http://droidbuzzz.blogspot.com/" target="_blank">Blogger Widget</a></div><noscript>Your browser does not support JavaScript!</noscript></div>
<style type=text/css>
.eggTray {margin:10px 0px;padding:0px;}
.ybr li  {border-bottom:0px #cccccc dotted; padding:0px 0px 10px 0px!important;}
.pipesTitle {padding-top:0px;}
.pipesDescription {display:true;}
.ycdr {background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeRnUMB7EAr1L2f-x8TfgA7rqJmvyss42139_Qd4ysQ18xSm8La7qg6Pn0I6Zglqa2XR6XfO8RgjdzVqpPOqC8gwfbcbKYiJ0lq5rvxKgnZzOLzXtQ4-3fBRTm18KiNTnc4bClVCCcwwo/s1600/logo.png) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 4px 0px 0px 0px;line-height:14px;}
.ycdr, .ycdr a {color:#999999;}
.widget .popular-posts ul {padding-left:0;}
</style>

Step 4. Replace YOUR-BLOG with the url of your site/blog (ex: http://droidbuzzz.blogspot.com) and pay attention to have no forward slash symbol "/" at the end of your url, otherwise it won't function properly.
  • To disable the scroll bar, remove the number 500
  • By default, this widget is set to display a maximum of 8 recent posts. To change this number, replace the number 8 with the number of posts desired
  • if you want only the posts titles to appear, change true to none and "0" from padding-top:0px with 10
Step 5. Save your widget. And you're done!
  
SHARE

Sohanur Rahman Sobuz

Hi. I’m Sohanur Rahman Sobuz. I’m CEO/Founder of DroidBuzzz™. I actually created this blog for Symphony W72 User cause there is No Custom Rom for it. Thats Why I started Porting Custom ROM and Publish here. In the Meantime many Visitors have come to my blog thats why I publish other phone's rom too. Actually I am not a Dev.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 Comments:

Post a Comment

Search This Blog

What do you think about this website? You can choice multiple answer

Subscribe Us

Join the team! By Submitting your email address: