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
kemudian ganti denganCode:<b:if cond='data:blog.pageType != "item"'> <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 == "item"'><data:post.body/></b:if>
Code:<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'>READ MORE - <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: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 != "item"'> <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 == "item"'><data:post.body/></b:if>
then replace with
Code:
<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'>READ MORE - <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:if>
then save the template
0 komentar:
Posting Komentar