
Steps to add the "Read More" Link to your blog:
- First and the Most Important step is to backup your Template.
- Now tick the "Expand Widgets Template" at the top right corner of your Edit HTML page.
- Next, find this code ]]></b:skin>
(Tip: press ctrl + F or F3 to find the code)
- Just after ]]></b:skin> copy paste the code below
(Tip: press ctrl + C to copy and Ctrl + V to paste:
<style> <b:if cond='data:blog.pageType == "item"'> span.fullpost {display:inline;} <b:else/> span.fullpost {display:none;} </b:if> </style>
- Now find this code <data:post.body/>
And just after <data:post.body/> add the code below,
- <!--MBN-READ-MORE-STARTS--> <b:if cond='data:blog.pageType != "item"'> <a expr:href='data:post.url'> <div style="text-align: right;">Read More ->></div></a> </b:if> <!--MBN-READ-MORE-STOPS-->
If you like you can replace text in red (Read More->>) with any word e.g Continue Reading.
If you need to shift the "Read More" to left side then use this code below instead of the one above:
- <!-- MBN-READ-MORE-STARTS--><b:if cond='data:blog.pageType != "item"'><a expr:href='data:post.url'><div style="text-align: left;">Read More ->></div></a></b:if><!--MBN-READ-MORE-STOPS-->
- Save your template and you are Done!
HTML Code to be Used with Post:
In order to hide a portion of you blog post using this link, you would have to add a short HTML code within every post.
The HTML code is:
- <span class="fullpost">The part which you want to hide.</span>
add the code as shown below.
![]() |
Peace and Happy Blogging!
0 comments: