- Log in to your blogger account select Layout of the blog which you want to modify
- Navigate through Template --> Edit HTML
- Take backup of your template by clicking Download Full Template. This backup will help you if you want to revert to old template
- Search for in your template HTML and paste the following piece of code in between and
<!-- Style to implement "Read more on this Article" link in all the posts (Start) -->
<style>
<b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
</style>
<!-- Style to implement "Read more on this Article" link in all the posts (End) -->
- After pasting the code, your template should look like as shown in the following image
- Save your template and click on select Expand Widget Templates
- Search for
<!-- Code to show "Read more on this article..." Link (Begin) -->
<b:if cond='data:blog.pageType != "item"'>
<span>
<a expr:href='data:post.url' style='color:#0000FF; text-align:right; font-weight:bold; text-decoration:none' >Read more on this article...</a>
</span>
</b:if>
<!-- Code to show "Read more on this article..." Link (End) -->
- After pasting the code, your template should look like as shown in the following image
- That's all. Your template is modified to show expandable posts.
- Now in every post, the content which you want to show only in post's page should be included between This will be shown only in post's page.
- Post a test article using the following HTML to see your blog working as expected