Wednesday, 28 October 2009

Adding "Read More" Link in blogger/blogspot

One of the reasons that blogger was well behind wordpress in functionalit is that you had to apply hacks for such basic things as a Read more link. Now, it is all over. You simply add a tag like this:


<!-- more -->


and you are done. In case this does not display the "Read more" link on your article find

<div class='post-footer'>


in your HTML template (before editing the template, select "Expand widget template" checkbox) and add right before it


<b:if cond='data:post.hasJumpLink'>
<div class='jump-link'>
<a expr:href='data:post.url + "#more"'> <data:post.jumpText/> </a>
</div>
</b:if>

No comments: