Display Recent Post With A Summery in Blogger?
Some people have different approaches of showing recent posts in their blogs. They want them to be with a title and a short description, so that users can get some idea about the topic. There're multiple ways of doing that, but we have listed below the most simplest and work friendly method.The first thing you need to do is to go to Blogger.com >> Layout >> Add a Gadget >> Add HTML/JavaScript. Now paste the following code in the HTML Text Area. Remember: Don’t forget to replace mybloggerlab.com with your personal domain name.
<link href="http://mybloggerlab.com/Scripts/recent.css" type="text/css" rel="stylesheet" />
<script src="http://mybloggerlab.com/Scripts/json.js"></script>
<script type='text/javascript'>
var numposts = 3;
var showpostthumbnails = false;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = true;
var numchars = 100;</script>
<script type="text/javascript" src="http://www.mybloggerlab.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=labelthumbs"></script>
You may change the character limit by replacing (100) with any other according to your needs. Once everything is done, save the gadget.
Displaying Recent Posts in a List Format in Blogger?
Some people want things to be as modest as possible, this is the reason why they want to show recent posts with just post titles in a list format.<link href="http://mybloggerlab.com/Scripts/recent.css" type="text/css" rel="stylesheet" />
<script src="http://mybloggerlab.com/Scripts/json.js"></script>
<script type='text/javascript'>
var numposts = 3;
var showpostthumbnails = false;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = false;
var numchars = 100;</script>
<script type="text/javascript" src="http://www.mybloggerlab.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=labelthumbs"></script>
You may change the number of posts to be shown in the gadget by replacing 10 with any other number. You can simply paste the code in the HTML/JavaScript gadget's area or you can also use them in your post pages. Once everything is done, save the gadget.
Displaying Recent Posts with Thumbnails in Blogger?
Sometimes people want things to be perfect. As we all know picture speaks a lot than words, so adding a small thumbnail to recent posts might help in grabbing the attention of your visitors. You can customize the thumbnail size through a simple CSS, but it might get distorted as it is originally small.To add this in your blog, Blogger.com >> Layout >> Add a Gadget >> Add HTML/JavaScript. Now paste the following code in the HTML Text Area. Once everything is done, after customizing save the gadget.
<link href="http://mybloggerlab.com/Scripts/recent.css" type="text/css" rel="stylesheet" />
<script src="http://mybloggerlab.com/Scripts/json.js"></script>
<script type='text/javascript'>
var numposts = 3;
var showpostthumbnails = true;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = true;
var numchars = 100;</script>
<script type="text/javascript" src="http://www.mybloggerlab.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=labelthumbs"></script>
Congratulations: You have successfully learned how to display Recent posts in blogger. Go and check out your blog to see things are working perfectly or not.
We hope this article have helped you in learning a way to display recent post in your blogger site. You can even display posts by using your labels. However, we will discuss them in the upcoming tutorials. If you like this article do share it on Facebook and other social web.

Thanks. Really easy and helpful. Waiting for more great tutorials from you guys!
ReplyDeleteIs the first one with description?
ReplyDeleteYes, First one is with description and post title but without thumbnail
DeleteCan I customize it. means how to change the height of image, or text-transformation?
ReplyDeleteSuperb post, Thanks
ReplyDeleteVery useful, thank you! =)
ReplyDeleteI love this widget
ReplyDeleteHow to make it move? As in ascending or descending recent posts?
ReplyDeleteThey're arranged the way they are published.
DeleteThanks Bhai
ReplyDeleteGreat, thanks a lot !!
ReplyDeleteit is not working properly for me. I see only one post. You can visit hbtk on below page for the problem
ReplyDeletehttp://hbtkollywood.blogspot.sg/
Please look in to this.
It works on Labels if your are giving labels to your posts it will display them correctly.
Deletehey the recent posts widget can be seen on my blog however your links are also visible ... how can i delete them
ReplyDeleteYou need to replace www.mybloggerlab.com with your domain name
Deletethere is "mybloggerlab.com" three time in this code.
Deletewhich one we need to replace with our domain name.
please reply
Last one
DeleteThanks Sir
DeleteThanks for the simple and great tutorial!
ReplyDeleteis that possible, just to show the title ? i don't need to show, thumbnail, summary
ReplyDeleteYour json/css files in the script have generated too much traffic and have been blocked.
ReplyDeleteHi,
DeleteWe have updated the tutorials. New Links are working
am having the same issues..how am i going to make the recent post tittle display?
DeleteThanks very much for this generous advice. I almost have the code working perfectly for me, in a blogger widget here: http://thismoaning.blogspot.co.uk/
ReplyDeleteI want to change a couple more things, though:
1) Close the space between each item in the post list (make it narrower)
2) Get the whole list to sit at the far left of the widget space. At the moment it's inset under the widget title 'ALL POSTS LIST'.
I put copies of the linked .js and .css files on my own server so that I could tweak them. E.g: I took away the 'strong' tag from the post link in the .js file; and did various things with size and spacing in the .css file. However, I cannot figure out where to make changes to achieve those two last things that I want to do.
There are three possibilities:
- The linked .js file on the server
- The linked .css file on the server
- The html/javascript code of the blogger widget
I'd be grateful for any suggestions
Thanks!
Hello give me please the CSS for thumbnail size
ReplyDeleteul.label_with_thumbs img {
Delete}
Thanks a lot BRO
ReplyDeleteWhen added, widget title is visible but there are no posts listed. When I replaced my blog URL with another blog URL, it works fine. My blog is currently set to private, but changing the setting to public didn't matter. Do I need to change anything in the Template, either with HTML or CSS? Any idea what can be wrong? Thanks!
ReplyDeleteWere you able to solve this problem?
DeleteDear friends if i use in my personal blog may be copyright issue or not??
ReplyDeleteNo, there is no copyright issue in that.
Deletehow do I solve this one The reference to entity "alt" must end with the ';' delimiter.
ReplyDeleteEven if value of 3 (in var numposts = 3;) is changed to a higher number like 100,the maximum number of displayed posts remains limited to 25. Can the number of dispalyed posts be increased beyond 25 so that all posts can be displayed?
ReplyDeletemy blog is not working this widget here
ReplyDeletehttps://onlinepakistanofficial.blogspot.com
thanks
ReplyDeletehi bor, your widget is the only working one that i found really awesome job you did here, i have always being a fan of your blog,
ReplyDeletebut i need some help bro, i want to display recent posts ( your widget ) below blog post ( instead of related posts, just below the post not in home page) but i couldnt do that can you please help bro ????
Hi,
ReplyDeleteWe will share a tutorial about this, next week. Till then stay tuned.
Cheers
it has been more than a week now and still waiting bro :)
ReplyDelete