How To Fix Auto Readmore On Post Pages?

May 27, 2011

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?"

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,

3 comments:

Download Ngage Games said...

Thanks Nice postthis work in my them

Anonymous said...

Nice Post, keep Sharing and Best Idea

how to make an app said...

Thanks for sharing this helpful info!



how to make an app

Post a Comment

 
© Copyright 2010-2011 free seo info web hosting and server All Rights Reserved.
Powered by Blogger.com.