- Here we adding recent post gadget it help our visitors to check out our recent post what kind of post we published in our blog or website blog, when our visitor visiting any page or any blog post and they can easily check our recent post. So, let's get started.
Step - 1
- First go to "Layout" page of your blog.
- Click on "Add a Gadget" link from sidebar section or other where you want to appear recent comments widget.
- Select "HTML/JavaScript" widget.
<script>var numposts =5; var showpostdate = false; var showpostsummary = false; var numchars = 100; </script> <script src="http://YOURBLOGNAME.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=rp"> </script>
Step - 5
- Make following changes to the above code.
- Replace YOURBLOGNAME with your URL that highlights in Red Color.
- Save it and you will have Recent Post Widget on your blog.
0 Comments