Read more..function Code for beta blogger template

Read more....... function also know as Post Summary or expandable post summaries.
Using this trick I am posting article about expandable post summaries or Read More.. Or Post Summary… Hack. This is few line of code. It’s also help full for those who is writing very long article. Actually after using this Hack you can show maximum number of Article on your first page.


Instrection For Read more Function.


Dashboard > Layout > Edit HTML>Expand Widget Templates




Search below given code.

<p><data:post.body/></p>

and just below that paste this code

<b:if cond='data:blog.pageType == "item"'>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>
<p><data:post.body/>
<a expr:href='data:post.url'><strong>Read more...</strong></a></p>
</b:if>


Save Your Template

Followe next Step

Settings->Formatting




<span class="fullpost">
</span>

Paste above code in Post Template text Box. Save and Open you blog with read more Function.

Note:- This code is for new blogger template (beta) and does not work at classic template.

No comments:

Post a Comment

Thanks For Your Comment. You can also reach me at my mai Id :- blogtips.frd@gmail.com