Recent Posts Widget for Blogger / Blogspot with Summary And Read More
Showing the most recent posts widget to the sidebar of your Blogger blog? Recent Posts Widget had this great feature as the posts of his latest show with their titles, abstracts with a publication date. This widget allows you to set the number of posts displayed and also allow you to set the number of s characters.Today let us create our own Custom Blogger Widget to display most recent posts.
Read More :
1. Recent Posts Widget for Blogger Text CSS Hover Effect with jQuery
2. Animated Recent posts for Blogger with Thumbnails - Simple Spy
Recent Posts Widget with post snippets
1. Go to Blogger Dashboard >> Layout >> Add a gadget >> Add HTML/Javascript Box.
2. Paste the following code in HTML/Javascript Box.
Recent Posts Widget with post titles only
Recent Posts Widget with Post Summary And Read More
There are many variables in this script that you need to adjust to blend the widget’s look with that of your blog template. Most of them are self explanatory.
1.In the code, look for the line…
http://bdlab.blogspot.com/feeds/posts/default
and replace the blog address with your own blog address
2.How to change the number of posts
By default, this widget is set to display a maximum of 5 recent posts. To change this number,
3.How to change the Number of Characters (Excerpt)
This widget is set to display an excerpt of 100 characters of each post. If you want to change that number, just look for the number 100 in the code and replace it with the number of characters you want to be displayed.
Recommended setting: 50 to 100.
4.How to Show Post Date
If you want to show the post date, look for the line with the word showpostdate in the code. Then change its value from false to true (shown in color red below).
Happy Blogging! =)
Read More :
1. Recent Posts Widget for Blogger Text CSS Hover Effect with jQuery
2. Animated Recent posts for Blogger with Thumbnails - Simple Spy
Recent Posts Widget with post snippets
1. Go to Blogger Dashboard >> Layout >> Add a gadget >> Add HTML/Javascript Box.
2. Paste the following code in HTML/Javascript Box.
Recent Posts Widget with post titles only
Recent Posts Widget with Post Summary And Read More
There are many variables in this script that you need to adjust to blend the widget’s look with that of your blog template. Most of them are self explanatory.
1.In the code, look for the line…
http://bdlab.blogspot.com/feeds/posts/default
and replace the blog address with your own blog address
2.How to change the number of posts
By default, this widget is set to display a maximum of 5 recent posts. To change this number,
var numposts = 5
edit line in the code and replace the number 5 with the number of posts desired:3.How to change the Number of Characters (Excerpt)
This widget is set to display an excerpt of 100 characters of each post. If you want to change that number, just look for the number 100 in the code and replace it with the number of characters you want to be displayed.
Recommended setting: 50 to 100.
var numchars = 100;
4.How to Show Post Date
If you want to show the post date, look for the line with the word showpostdate in the code. Then change its value from false to true (shown in color red below).
var showpostdate = false;
Happy Blogging! =)
Many thanks to bloggerplugins for making this code and I just tested and modified to work on blogger
Libellés : Blogger Widgets, CSS, HTML, Java Script
0 commentaires:
Enregistrer un commentaire
Abonnement Publier les commentaires [Atom]
<< Accueil