How To Fix Auto Readmore On Post Pages?

This in nice Post And Work whit my templates, Thanks For this Tutorial.
Hi, my blog template use automatic readmore script. It cut post and show thumbnail image automatically. The problem show after Blogger launched Pages Gadget. The script also cut on Pages Post. It's not looks good. How to fix this problem?"
How To Fix Auto Readmore On Post Pages?

It could be happened to you too. You want to use an automatic thumbnail but you also want to show full post Pages. Follow this step to fix the problem.

Open Design>Edit HTML , tick mark on Expand Widget Templates. Usually there is basic automatic readmore script like this.

<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 &#8220;<data:post.title/>&#8221;</a></span>

</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>

Insert some codes on bold type as follows

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<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:right;padding-top:20px;'><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 == &quot;static_page&quot;'><data:post.body/></b:if>

Nice Post and step, just follow this metode to normal page in templates.
Be careful to insert the code. Ensure to put closed tag.

Post a Comment

Previous Post Next Post