Make Related Article/Post Widget For Blogger

10:55 AM
With related post, your blog will be added many pageview. because with related post, user can see other article in the same category .

What is related article/post ?
The related posts widget will show a new related posts section below your post.The related posts widget fetches the related posts from those posts having the same label as the current post.

To implement the related posts widget you will have to follow 2 simple replacement steps.
1.Login to your blogger account and get into your Dashboard
2.From there go to Layout > Edit HTML and expand your widget templates(option on the right)
3.Now find this line of code
and replace it with



#related-posts {
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:5px;
padding-left:5px;
}
#related-posts .widget{
padding-left:6px;
margin-bottom:10px;

}
#related-posts .widget h2, #related-posts h2{
font-size: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, “Times New Roman”, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
color:blue;
}
#related-posts a:hover{
color:blue;
}
#related-posts ul{
list-style-type:none;
margin:0 0 0px 0;
padding:0px;
text-decoration:bold;
font-size:15px;
text-color:#000000
}
#related-posts ul li{
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_QI2vf0srPExxG5O-wZMGCEa3fSs8QqLZkR2g1cIBqom7vS0LvxI8VH6wjMk0zXuoK8qqJyR-5m0HNgZT4C7wEGtyQdySaj1VUaXQOSdTCf6Vbv2Mw1JbU9reGbcQgkSJa2Nm3EH12yE/s200/greentickbullet.png) no-repeat ;
display:block;
list-style-type:none;
margin-bottom: 13px;
padding-left: 30px;
padding-top:0px;}



var relatedpoststitle="Related Posts";





4.Now find this line of code

If you cant find it then try finding this one

Paste code bellow, after that code or bellow that code







5. Save your template and see result
 
 

Artikel Terkait

Next Article
« Prev Post
Previous Article
Next Post »
Penulisan markup di komentar
  • Untuk menulis huruf bold gunakan <strong></strong> atau <b></b>.
  • Untuk menulis huruf italic gunakan <em></em> atau <i></i>.
  • Untuk menulis huruf underline gunakan <u></u>.
  • Untuk menulis huruf strikethrought gunakan <strike></strike>.
  • Untuk menulis kode HTML gunakan <code></code> atau <pre></pre> atau <pre><code></code></pre>, dan silakan parse kode pada kotak parser di bawah ini.

Disqus
Tambahkan komentar Anda

No comments