how to create Recent Posts Widget for Blogger

How to Add Recent Posts Widget to Blogger

Add Recent Posts Widget to Blogger – To add recent posts widget to your blogger blog site, very simple and easy way, first of all go to “Layout” of your blogger dashboard. and then Click on “Add a Gadget” and select HTML/JavaScript and paste the code which is i will provide you down below,

you also can change some settings like: change the image size height, width and number of post, and many things,

Recent Posts Widget

here is some important html code which you can change, this lines you like get in html code,

  • var posts_no = 6; — 👈 here you make how many post you want show
  • var showpoststhumbs = true; 👈 from here you can change if you want o show thumbnail or not
  • var readmorelink = true; 👈 here you can if want to show Read more button or not
  • var showcommentslink = true; 👈 can choose if you like to show comment link
  • var posts_date = true; 👈 can make change if you want show date or not
  • var post_summary = true; 👈

but if just want to show title with thumbnail so just make small change in this code “var readmorelink = true; ” make just replace true from false, so the date, read more, and comment link, will be invesble from Recent Posts Widget,

Here is code

Recent Posts Widget just download sidebar code for notepad and paste in your blogger sidebar easily and just simply download and paste,

I already change many things in code but also you can change from your style its very easy, and don’t be scared just make change if anything wrong so just simple delate code then again copy paste,

this is also very good practice and learning way from Recent Posts Widget,

but if have any other problems so feel free to comment in comment section, I will be happy to answer and will give my best to solve your problem,

Leave a Reply

Your email address will not be published. Required fields are marked *