|
This tutorial for you still using the classic template ( HTML ), if you are using a new template (xml / beta), please read here
Step 1
1. login to the blogger with your Google account
2. after that, go to Layout tab and then go to the Edit HTML section
3. After that find </style> code and enter the following code before </style> code.
<MainOrArchivePage>
div.fullpost {display:none;}
</MainOrArchivePage>
<ItemPage>
div.fullpost {display:inline;}
</ItemPage>
4. after that, place the following code after the <$BlogItemBody$> code
<MainOrArchivePage><br/>
<a href="<$BlogItemPermalinkURL$>">Read more...</a>
</MainOrArchivePage>
you can changes the blod text with your own like continue reading, etc
And save your work.
Step 2
The final piece that we need is a little bit of code in your actual post. Each post that you want to use this feature on will need this code:
<div class="fullpost">
......
</div>
This part can actually go in the post template, if you don't want to have to type it for each post. You'll enter the summary text outside the span tags and the remainder inside, like so:
Do you wan to try this hack ? <div class="fullpost"> This hack is about Expandable Post Summaries on Blogger old Version</div>
Now, when a reader visits your blog, this post will appear like this:
Do you wan to try this hack ?
Read more...
When they click the Read more link, they'll go to the post page where they'll see the whole thing:
Do you wan to try this hack ?. This hack is about Expandable Post Summaries on Blogger old version.
That's all . I hope you can do this tutorial, or you can ask some question here in comment form. Happy blogging ... !
is there a way of doing this without showing the 'read more' on all posts?