![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiJBOvY1gtPxNpHkGVyjPIPbTVky6_HS1jcn9P_TJoTIo_kkZYBJ_TPKcm0fyiEHcSS3FI9vl4o7BWuhEM4rv2y1aKLsU-bBTb0_96yA8ISiBObxrVGa8QnCvYW4mz2B7Ez1inP3B6RUS4/s200/Untitled-1.png)
#Cara Membuat Tombol Read More Pada Blog
1. Buka Blogger
2. Pasa Dashbor Blogger Pilih Tema Lalu Edit
3. Cari Kode </head> Gunakan CTRL + F Agar Lebih Mudah
4. Letakan Kode Dibawah Ini Tepat Diatas Kode </head>
<script type='text/javascript'>
var thumbnail_mode = "float" ;
summary_noimg = 150;
summary_img = 150;
img_thumb_height = 80;
img_thumb_width = 120;
</script>
<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(b,a){if(b.indexOf("<")!=-1){var d=b.split("<");for(var c=0;c<d.length;c++){if(d[c].indexOf(">")!=-1){d[c]=d[c].substring(d[c].indexOf(">")+1,d[c].length)}}b=d.join("")}a=(a<b.length-1)?a:b.length-2;while(b.charAt(a-1)!=" "&&b.indexOf(" ",a)!=-1){a++}b=b.substring(0,a-1);return b+" [...]"}function createSummaryAndThumb(d){var f=document.getElementById(d);var a="";var b=f.getElementsByTagName("img");var e=summary_noimg;if(b.length>=1){a='<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+b[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';e=summary_img}var c=a+"<div>"+removeHtmlTag(f.innerHTML,e)+"</div>";f.innerHTML=c};
//]]>
</script>
- summary_noimg : Banyak Huruf Untuk Tidak Ada Gambar
- summary_img : Banyak Huruf Untuk Ada Gambar
- img_thumb_height : Ukuran Tinggi Gambar
- img_thumb_width : Ukuran Lebar Gambar
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<div expr:id='"summary" + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
<span class='rmlink' style='float:left'> <a expr:href='data:post.url'><b>Readmore</b> → <data:post.title/></a></span>
</b:if></b:if>
<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
</b:if>
<b:if cond='data:blog.pageType == "static_page"'><data:post.body/></b:
7. Simpan Template
8. Selesai
Cukup sekian tutorial saya kali ini tentang Cara Membuat Tombol Read More Pada Blog semoga bermanfaat dan selamat mencoba
0 Response to "Cara Membuat Tombol Read More Pada Blog"
Posting Komentar