--- Theo Dấu Chân Xưa ---

Thứ Năm, 6 tháng 6, 2013

How To Remove Blogger Auto Read More Option

By on 18:31

Many bloggers like to add Auto Read More option for their blogs. So I have included it with my templates.But if you want to remove auto read more option from your blog, follow the steps given here. This tutorial will help you to remove auto read more feature from many blogger templates of mine.





Now go to "Design" --> "Edit HTML". (if you are using Blogger new interface go to "Template" --> "Edit HTML").
Click on "Expand Widget Templates".
Find this:

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<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>
<div class='readmorecontent'><a class='readmore' expr:href='data:post.url'><b>Read more &#187;</b></a></div>
</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>


Also look at the image to easily identify the code:

 

Note : some part of the code can be different,according to your template.but you can find this code easily.
Now Replace above code with below one :

<data:post.body/>

Save your template and refresh your site. you can see auto read more has removed from the template.
But still you can see "Read More" button in your blogger posts? Then find this and remove it (again some part of the code can be different,according to your template.):


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div class='readmore-wrap'>
<a class='readmore' expr:href='data:post.url'>Read More</a>
</div>
</b:if>
</b:if>


Save your template again. You are done. 

0 nhận xét:

Đăng nhận xét