hohoho
Ini Skrinsut Related Post nya (contohnya ya di blog saya ini)
Udah lah, gk usah panjang lebar, to the point wae...
Berikut Cara Pasang Related Post Di Blogspot :
1. Log in di blogger dulu, masuk ke halaman dasbord sobat
2. Klik Design/Tata Letak > Klik Edit HTML
3. Centang Expand Widget Templates
4. Cari kode ini (Biasa pake CTRL + F biar cepet ketemu)
</head>
5. Terus copas kode di bawah ini, tepat di atasnya kode </head>
<!--Related Posts Scripts and Styles Start-->Tulisan yang berwarna merah mau di ganti apa aja terserah ente, itu judul Related Postnya, seperti contoh gambar di atas.
<!--Remove--><b:if cond='data:blog.pageType == "item"'>
<style type='text/css'>
#related-posts {
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:0px;
padding-left:5px;
}
#related-posts .widget{
padding-left:6px;
margin-bottom:5px;
}
#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.5em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
color:blue;
}
#related-posts a:hover{
color:red;
}
#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/AVvXsEiDcnNzXvcP-HHTJdAG-k6G1it0Eqnx0LpDj2NJA2wwWMPrTqUASsWgmnQNwhyphenhyphenDZgxxenBBJwSsQrf1pJCroLXJfW0SGwXNOkOWuB2W-AkuLGqnad4VFxhwhIZ03dfUYAXyHpz7fS8C7VCI/s1600/list_bg.png) center left no-repeat ;
display:block;
list-style-type:none;
margin-top: 5px;
margin-bottom: 5px;
padding-left: 20px;
padding-top:0px;}
</style>
<script type='text/javascript'>
var relatedpoststitle="Baca Ini Juga Ya... (Kudu Di Woco, Wajib!!)";
</script>
<script src='http://blogergadgets.googlecode.com/files/related-posts-for-blogger.js' type='text/javascript'/>
<!--Remove--></b:if>
<!--Related Posts Scripts and Styles End-->
6. Selanjutnya, cari kode berikut ini
Bila gk ketemu, cari kode alternativ berikut :
<div class='post-footer-line post-footer-line-1'>
<p class='post-footer-line post-footer-line-1'>
7. Setelah ketemu, copas kode berikut ini tepat di bawahnya kode pada langkah no.6:
<!-- Related Posts Code Start http://ayakayakwae.blogspot.com -->Tulisan yg berwarna merah menunjukkan jumlah related post yg mau di tampilkan.
<!--Remove--><b:if cond='data:blog.pageType == "item"'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != "true"'>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels&max-results=6"' type='text/javascript'/></b:if></b:loop><a href='http://www.bloggerplugins.org/2009/08/related-posts-for-blogger-widget.html'><img alt='Related Posts Widget for Blogger' src='http://image.bloggerplugins.org/blogger-widgets.png' style='border: 0'/></a>
<script type='text/javascript'>
var maxresults=5;
removeRelatedDuplicates(); printRelatedLabels("<data:post.url/>");
</script>
</div>
<!--Remove--></b:if>
<!-- Related Posts Code End-->
8. Selamat Mencoba, Semoga berhasil XD.
0 comments :
Speak up your mind
Tell us what you're thinking... !