Tutorial Related Posts
Tutorial Related Posts
Tutorial ini berfungsi bagi menambah bilangan
pageview setiap entry anda..
related post ini akan keluar di setiap entry anda..
Jangan Lupa Untuk Download Templates Asal
utk mengelakkan templates anda rosak
1. login –> dashboard –> design –> edit html
2. klik pada Expand Widget Templates
3. cari (ctrl+f) </head>
dan paste code html dibawah ini sebelum </head>
dan paste code html dibawah ini sebelum </head>
<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: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="http://i997.photobucket.com/albums/af93/abgferoz/2f83d4a4-c14f-4ed9-ad18-bd709c03c1a6_zpsfe4ec94a.png";
var maxresults=5;
var splittercolor="#DDDDDD";
var relatedpoststitle="Related Posts";
</script>
<script src='https://googledrive.com/host/0B_Bwy_zKUPWraVgtLTlsS28xODQ/RelatedPost.js' type='text/javascript'/>
</b:if>
Kemudian cari code dibawah.
<div class='post-footer'>
<div class='post-footer'>
Copy dan Paste Code ini Dibawah Code Diatas.
<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>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels_thumbs&max-results=6"' type='text/javascript'/></b:loop>
<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs("<data:post.url/>");
</script>
</div><div style='clear:both'/>
</b:if>
<b:if cond='data:blog.url == data:blog.homepageUrl'><b:if cond='data:post.isFirstPost'>
</b:if></b:if><a href="http://www.jiwarosak.com" rel="dofollow" target="_blank" title="abgferoz"><img src="http://i997.photobucket.com/albums/af93/abgferoz/blank2_zpse1763438.gif" alt="abgferoz" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a>
<div id="rpdr" style="font-family: arial, sans-serif; font-size: 8px;">
<a href="http://www.jiwarosak.com/tutorial-related-posts" target="_blank" title="Widget">Tutorial Related Posts</a></div>
SELAMAT MENCUBA
5. Preview sekiranya ok baru save templates.
Post a Comment