Cari Blog Ini

Selasa, 13 Desember 2011

membuat read more

*Login ke Blog anda
*Buka halaman design > Edit HTML > centang Expand template widget
*Cari kode </head> gunakan CTRL + F untuk mempermudah pencarian
*Paste kode berikut tepat dibawah </head>

<script type='text/javascript'>var thumbnail_mode=&quot;no-float&quot; ;summary_noimg = 250; summary_img =250; img_thumb_height = 150; img_thumb_width = 150; </script><script src='http://script-bamz-us.googlecode.com/files/read-moreotomatis.js' type='text/javascript'/>

*Selanjutnya cari kode <data:post.body/> atau <p><data:post.body/></p> ( seperti biasan gunakan CTRL + F untuk mempermudah pencarian. Jika ditemukan 2 kode yang sama, gunakan atau ganti yang pertama.
*Jika sudah ketemu silahkan anda ganti kode tersebut dengan kode dibawah ini:
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);
</script>
<span class='rmlink' style='float:right;padding-top:20px;'>
<a expr:href='data:post.url'>read more</a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>

*Finish simpan template dan lihat hasilnya
selamat mencoba semoga sukses
sumber: surat saktiku
http://suratsaktiku.blogspot.com/2012/01/read-more.html