Pages

Jumat, 26 Agustus 2011

Cara menghilangkan auto readmore pada laman tertentu (How to remove auto readmore on certain pages)

Cara menghilangkan auto readmore pada laman tertentu

Bagi yang mempunyai masalah autoreadmore yang muncul pada laman blog seperti about contact us dll ,masalahnya adalah laman yang kita buat akan muncul setengah walaupun sudah berkali-kali meng-klik readmorenya ,hal tersebut dapat diatasi dengan cara berikut
1. Dasbor --> Rancangan --> edit html
2. Sebaiknya Backup terlebih dahulu template anda dengan mengunduhnya
3. Klik Expand Widget Template

cari kode berikut

Code:
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<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'>READ MORE - <data:post.title/></a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>
kemudian ganti dengan

Code:
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType != &quot;static_page&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:left'><a expr:href='data:post.url'>READ MORE - <data:post.title/></a></span>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<data:post.body/>
</b:if>

kemudian simpan template

 english :


How to remove auto readmore on certain pages

     For those who have problems autoreadmore appearing on blog pages like contact us about etc, the problem is the page that we create will appear half, despite being repeatedly clicking readmorenya, it can be overcome by following
     1. Dashboard -> Design -> edit html
     2. We recommend that you backup your template first by downloading it
     3. Click Expand Widget Templates

     find this code
 
Code:
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<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'>READ MORE - <data:post.title/></a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>
 
 then replace with
 
 
Code:
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType != &quot;static_page&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:left'><a expr:href='data:post.url'>READ MORE - <data:post.title/></a></span>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<data:post.body/>
</b:if> 
 
then save the template
 

0 komentar:

Posting Komentar