Random post widget for blogger blogs increases the number of pages viewed by visitors. It makes it possible to interlink one post with others, which in turn reduces a blog's bounce rate just like the popular post blogger widget. Displayed on this random post widget are number of comments, the date the post was published and a snippet of the post's content with the thumbnail. You can also customize each of these features. The posts are sorted from different labels on the blog in an unordered manner. Here are steps on how to add this random post widget in your blog.
Also Read: Numbered Page Navigation Widget For Blogger
How to Add Random Post Widget In Blogger Blogs
- From your Blogger Dashboard,
- Goto 'Layout'.
- Click on 'Add a Gadget'
- Scroll down and select 'Html/Javascript' from the popup options.
- Copy the code below and paste in the text Field.
#random-posts img {
border-radius: 10px;
float: left;
margin-right: 5px;
width: 75px;
height: 75px;
background-color: #F5F5F5;
padding: 3px;
transition: all 0.2s linear 0s;
}
#random-posts img:hover {
opacity: 0.6;
}
ul#random-posts {
list-style-type: none;
padding: 0px;
}
#random-posts a {
font-size: 12px;
text-transform: uppercase;
padding: 0px auto 5px;
}
#random-posts a:hover {
text-decoration: none;
}
.random-summary {
font-size: 11px;
background: none;
padding: 5px;
margin-right: 8px;
}
#random-posts li {
margin-bottom: 10px;
border-bottom: 1px solid #EEEEEE;
padding: 4px;
}id='random-posts'>
- Save the gadget. Each time a post is viewed, different posts from your blog are displayed on the random post widget.
- width: 75px;
- height: 75px;
- background-color: #F5F5F5; (background colour of the widget).
- var randomposts_number = 5; (how many post you want displayed on this widget)
- var randomposts_chars = 110; (number of characters for the post snippet)var
- randomposts_details = 'yes'; (Input either yes or no, If date and number of comments should be displayed)
Random post widget for blogger blogs increases the number of pages viewed by visitors. It makes it possible to interlink one post with others, which in turn reduces a blog's bounce rate just like the popular post blogger widget. Displayed on this random post widget are number of comments, the date the post was published and a snippet of the post's content with the thumbnail. You can also customize each of these features. The posts are sorted from different labels on the blog in an unordered manner. Here are steps on how to add this random post widget in your blog.
Also Read: Numbered Page Navigation Widget For Blogger
How to Add Random Post Widget In Blogger Blogs
- From your Blogger Dashboard,
- Goto 'Layout'.
- Click on 'Add a Gadget'
- Scroll down and select 'Html/Javascript' from the popup options.
- Copy the code below and paste in the text Field.
#random-posts img {
border-radius: 10px;
float: left;
margin-right: 5px;
width: 75px;
height: 75px;
background-color: #F5F5F5;
padding: 3px;
transition: all 0.2s linear 0s;
}
#random-posts img:hover {
opacity: 0.6;
}
ul#random-posts {
list-style-type: none;
padding: 0px;
}
#random-posts a {
font-size: 12px;
text-transform: uppercase;
padding: 0px auto 5px;
}
#random-posts a:hover {
text-decoration: none;
}
.random-summary {
font-size: 11px;
background: none;
padding: 5px;
margin-right: 8px;
}
#random-posts li {
margin-bottom: 10px;
border-bottom: 1px solid #EEEEEE;
padding: 4px;
}id='random-posts'>
- Save the gadget. Each time a post is viewed, different posts from your blog are displayed on the random post widget.
- width: 75px;
- height: 75px;
- background-color: #F5F5F5; (background colour of the widget).
- var randomposts_number = 5; (how many post you want displayed on this widget)
- var randomposts_chars = 110; (number of characters for the post snippet)var
- randomposts_details = 'yes'; (Input either yes or no, If date and number of comments should be displayed)
No Comment