Cara memasang Readmore otomatis

Posted by

Berikut langkah-langkah menambah Readmore Otomatis di blog anda:

* Log in dulu ke blogger
* Tata letak
* Edit HTML
* Download tamplate anda terlebih dahulu untuk mengatasi hal yang tidak di inginkan
* Kemudian kasi tanda centang di "Expand Tamplate Widget"
* Setelah itu cari kode </head>
* Letak kode dibawah ini persis dibawah kode di atas

<script type='text/javascript'> var thumbnail_mode = &quot;no-float&quot; ; summary_noimg = 430; summary_img = 340; img_thumb_height = 100; img_thumb_width = 120; </script> <script src='http://rizqi.moehamed.googlepages.com/read-moreotomatis.js' type='text/javascript'/>
* Anda bisa merubah Summary_noimg untuk tinggi article terpenggal tanpa image dan summary_img untuk tinggi artikel yang terpenggal dengan image
* Setelah itu cari kode <data:post.body/> atau <p><data:post.body/></p>
* Kemudian ganti kode tersebut dengan kode

<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'>&#187;&#187;&#160;&#160;READMORE...</a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>
* Setelah itu simpan tamplate anda dan lihat hasilnya.

Selamat mencoba.........


Blog, Updated at: 00.53

0 komentar:

Posting Komentar