Bagi yang ingin tahu Cara Membuat Related Post Dengan Gambar ini, yuk kita ikuti langkah berikut ini :
Langkah Cara Membuat Related Post Dengan Gambar
Pergilah ke Dashboard blog kamu, lalu pilih Design, kemudian pilih tab Edit HTML.
Jangan lupa beri tanda contreng pada tulisan Expand Widget Templates.
Selanjutnya cari kode berikut:
</head>
Jika sudah ketemu, letakkan kode script berikut tepat di atas kode </head>
<!--Related Posts with thumbnails Scripts and Styles Start--> <!-- remove --><b:if cond='data:blog.pageType == "item"'> <style type='text/css'> #related-posts {background:#e6e6e6;text-transform:none;height:100%;min-height:100%;padding-top:5px;padding-left:5px;} #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{background-color:#F4F4EC;border:1px solid #666;color:black;-webkit-box-shadow: inset 0 0 3px #222;-moz-box-shadow: inset 0 0 3px #222;box-shadow: inset 0 0 3px #222;-webkit-border-radius:10px;-moz-border-radius:10px;margin-top:0px;text-align:center;height:180px;} #related-posts a:hover{color:black;background-color:#d4eaf2;-moz-transform: scale(1.3) rotate(-30deg) ;-webkit-transform: scale(1.3) rotate(-30deg) ;-o-transform: scale(1.3) rotate(-30deg) ;-ms-transform: scale(1.2) rotate(-30deg) ;transform: scale(1.3) rotate(-30deg);} #related-posts img:hover {background-color:#d4eaf2;} #related-posts img {display:block;float:center;margin:5px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;border:5px solid #666;-webkit-box-shadow: 1px 2px 1px #ccc;-moz-box-shadow: 1px 2px 1px #ccc;box-shadow: 1px 2px 1px #ccc;} </style> <script type='text/javascript'> var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7YP1XeAQvZskHTY8ogPhnCXs7RAAfNBI6J-cAUARLsiHNYrQhezy4xzznbHIwvUF3I4iqO_Kz7k0cgWnhGi3uQVR5feQxzh0dtlzAkXY5W8DBikQi6ZQXTDh4o0qA9oOBMw3DyOOuZ0Q/s400/noimage.png"; var maxresults=5; var splittercolor="#d4eaf2"; var relatedpoststitle="Related Posts"; </script> <script src='http://bloggergadgets.googlecode.com/files/related_posts_with_thumbnails_min.js' type='text/javascript'/> <!-- remove --></b:if> <!--Related Posts with thumbnails Scripts and Styles End-->
Setelah itu cari kode script
<div class='post-footer-line post-footer-line-1'>
atau
<p class='post-footer-line post-footer-line-1'>
Kalau sudah ketemu lalu letakan kode script dibawah ini sesudah kode tadi
<!-- Related Posts with Thumbnails Code Start--> <!-- 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> <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'/> <!-- remove --></b:if><div style='font-size:10px;margin:8px 0px 3px 0px'> by : <a href=http://www.tutorial-4u.com/>Tutorial For You</a><br /> <a href="http://www.tutorial-4u.com/2012/07/cara-membuat-related-post-dengan-gambar.html" target="blank"><font color="blue">[Get This Widget]<font></font></font></a></div> <!-- Related Posts with Thumbnails Code End-->
Setelah selesai, simpan template dan lihat hasilnya.
test kates
BalasHapusdi coba test
Hapusmantep
BalasHapustest lagi
BalasHapus