Sunday, May 30, 2010

How Remove Automatic Read More Hack From Blogger Static Pages

How make work automatic read more hack with thumbnail from blogger static pages,as we have been using automatic read more hack with thumbnail in blogger templates alot.But after the the blogger released static pages feature for the bloggers, the read more hack started making problems in static pages.As when we open the static page in blogger,it openes with read more hack and remains same on expanding.So to make the pages feature work well with this hack we have to remove the automatic read more hack with thumbnail from pages to make the blogger pages work well.



So just now get continue with the implementation of hack to remove read more hack from blogger static pages.

Just Login To Blogger and Go To (Dashboard → Layout → Edit Html → Expand Widgets → Press Ctrl+F) and now search for below codes.


<div class='post-body'>

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

<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 cond='data:blog.pageType == "item"'><data:post.body/></b:if>

</b:if>

<div style='clear: both;'/> <!-- clear for photos floats -->
</div>

What you have to do is find the code like above in your template, and add the red codes to them like i did to make static pages feature work properly with this hack.I have implemented this hack on my automatic read more hack with thumbnail.

I hope now you will be able to make pages feature work properly with this hack in your blog.If you have any other problems or using any other read more hack and facing problem let us know below in comments and dont' forget to check our last hack on how to use custom fonts for blogger.

No comments:

Post a Comment