Menambah Related Posts pada Blogger


Mungkin kebanyakan blogger pada susah untuk menambahkan related post atau artikel terkait pada postingan sejenis, untuk newbie paling tidak bisa memudahkan karena tinggal copy paste script dibawah, simpan dan jadi deh.

Langkah nya :
1. Masuk ke Blogger.com
2. Masuk ke Template lalu pilih "Expand widgets template" untuk memudahkan pencarian nanti.
3. Lalu cari kata kata berikut :  </head>


4. lalu copy  code dibawah tepat diatas </head> tadi

<!--Related Posts with thumbnails Scripts and Styles Start-->
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
#related-posts {
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:5px;
padding-left:5px;
}

#related-posts h2{
font-size: 18px;
letter-spacing: 2px;
font-weight: bold;
text-transform: none;
color: #5D5D5D;
font-family: Arial Narrow;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
border-right: 1px dotted #DDDDDD;
color:#5D5D5D;
}
#related-posts a:hover{
color:black;
background-color:#EDEDEF;
}
</style>
<script type='text/javascript'>
var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjECAa405L8tzxBtoSTfpYmo72OHj0AK9d19vD7S0lcQtGXJkVJN0LXm3eNcXAYZ8AXYtG47AJk_F5KxLrFJMymjNM0XkPCHWvFfjSmZiVuK4x-8Rxn6_w_P5_tBUgwpUCxzm_XA_R5rQJx/s1600/no_image.jpg&quot;;
var maxresults=5;
var splittercolor=&quot;#DDDDDD&quot;;
var relatedpoststitle=&quot;Related Posts&quot;;
</script>
<script src='http://helplogger.googlecode.com/svn/trunk/related-posts-with-big-thumbnails.js' type='text/javascript'/>
<!-- remove --></b:if>
<!--Related Posts with thumbnails Scripts and Styles End-->

5. Lalu cari kode berikut :  class='post-footer'

6. Tempatkan diatas kata tersebut code dibawah ini :

<!-- Related Posts with Thumbnails Code Start-->
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != &quot;true&quot;'>
</b:if>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=6&quot;' type='text/javascript'/></b:loop>
<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs(&quot;<data:post.url/>&quot;);
</script>
</div><div style='clear:both'/>
<!-- remove --></b:if>
<b:if cond='data:blog.url == data:blog.homepageUrl'><b:if cond='data:post.isFirstPost'>
<a href='http://helplogger.blogspot.com'><img alt='Blogger Tricks' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6JQwrsQVvg2cWoGqoQaRG1JWJNkhCCPrH_1mRJ7OrVuz94EnfoMnMj0VfGRen3KQKlUOPDbrhrmqiRQuZTl7kg-dNZR2vMzmMZpXltodyFomC1XE3PX7D9mCWPRpgdiiWyms8qT7WOZMf/s1600/best+blogger+tips.png'/></a>
</b:if></b:if>
<!-- Related Posts with Thumbnails Code End-->

No comments:

Post a Comment