Javascript code for recent posts widget with thumbnails in blogger

Advertisements:

Here is the JavaScript code for recent posts wirecent posts thumbnails bloggerdget with thumbnails in blogger. Many blogspot users want to display their recent posts in their blog with a beautiful thumbnail as it looks good to the visitors. Have a look at the preview of this widget at the right side of the post.

This widget is very flexible where you can change the number of posts, thumbnail photo size, widget width, font size, color of the post heading and more..  This is the simple widget for blogger and easy to install.

Steps to install this widget:

  • Sign into your Blogger dashboard
  • Go to Settings > Site Feed > Allow Blog Feeds > select Full and save
  • Go to Layout > Add a gadget > HTML/JavaScript
  • Now Go to JavaScript Page, Select all text (Ctrl+A) copy and paste in new notpad in your computer

Abbreviation list in the JavaScript Page (Change as per your requirement, or you can leave it as it default, but change the home_page compulsary):-

boxwidth= Width of the widget

cellspacing = Space between cells (Dont change this, default will be good)

borderColor = Border color of the widget

thumbwidth= Width of the image thumbnail

thumbheight = Height of the image thumbnail

fntsize = Font size of the post title

acolor = Color of the post title

aBold = if you want bold titles true otherwise false

numposts = Number of posts you want to display in widget

home_page = Remove http://yourblog.blogspot.com/ and write your blog address

  • Edit as per your requirement in notepad, then Copy Paste the whole code into HTML/JavaScript window and save it, That’s all..
  • If you have still any doubts, ask via comments..

widgets

3 Responses to Javascript code for recent posts widget with thumbnails in blogger

  1. Praz November 6, 2009 at 4:12 pm #

    Can this be used in WordPress blogs? If yes how? If not, can you create a plugin for wordpress?

    I need this badly.

    thanks,
    Praz.

  2. omar December 5, 2010 at 1:16 am #

    code doesnt work..nothing happened or showed…ive just change the homepage address..

  3. mustar February 22, 2011 at 1:39 pm #

    tanks…tanks….:indonesia

Leave a Reply