Sep 10, 2009

How to add Read More option - Officially from Blogger

add read more in bloggerIf you are looking for a hack to add Read more to Blogger to hide full posts, then stop searching because Blogger has now officially announced this option for us which is also known as Jump Break.

Now you don't have to add any separate hack in your template. What you have to do is enable some options in your Blogger settings and you are ready to use this feature. Thinking what are the options you have to enable! Well, let us find out.

While posting a new post, write a paragraph, use the "jump break" option and continue writing again. This is the option which will add the read more link to your posts on your homepage.

In HTML mode of Blogger Post Editor, you can have this by adding <!--more--> where you want to position the "jump break". Example:

First paragraph starts.
<!--more-->
Rest of the posts goes here.

Change the "Read more" Text

If you want to change the default text of the Jump Break to something else then go to Layout tab under your blog's dashboard, click the "Edit" link on Blog Posts gadget and then change to whatever you want, like, "Continue reading...". Don't forget to save it.

Adding Read More to Blogger Templates

First check if you already have got it by applying "jump break" to one of your posts form Post Editor. If you still can not see it then you have customised your template or have downloaded it form another source. For this you need to add following code to your template to enable it. To do this, go to Template tab, click "Edit HTML" and check "Expand Widget Templates".

Find <data:post.body/> and add the following code below it:

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

Save your template and you will get this for your template.

Next: Customize and style the Read More/Jump Break link in Blogger.

Official announcement: You Might As Well Jump!

15 comments:

  1. hello...i tried this and it works but can u plz tell me how to change the color of "Read More" link....its black by default..........Thanks

    ReplyDelete
  2. Hi DeeLight,
    Just go to 'Layout>Fonts and Colors' and change 'Link Color'. If you want to add more style then just add an image instead that meets your blog's style.

    ReplyDelete
  3. Hi there, I tried the updated version for blogger but the 'read more' link isn't showing. Please help!

    ReplyDelete
  4. Don't worry about it!I found the problem :). Thanks blogger, love this feature!

    ReplyDelete
  5. i am trying to add the read more option and it's not working, only adding a page break, not a read more tab. help?

    ReplyDelete
  6. Great tutor..

    Hi Raju, I can't find ""
    please help..

    ReplyDelete
  7. Sorry 9/11 truth seekers, I was late to reply.

    Hi Tamim, I didn't get it, please don't use < or >, instead post what's inside the signs.

    ReplyDelete
  8. Sorry Raju,
    I mean, I could not find html script "[data:post.body/]"

    ReplyDelete
  9. Follow the tutorial thoroughly. Now, while editing the template, press "Ctrl + F" on your keyboard to open a search box within the active browser(tab) and then find for <data:post.body/>, you will surely find it.

    ReplyDelete
  10. I got two read more tabs, A little help please on getting rid of one of them?

    ReplyDelete
  11. Thats very helpful,thanks alot

    ReplyDelete
  12. I too got two read more tabs please help

    ReplyDelete
    Replies
    1. Delete the one that you have added just before <data:post.body/>

      Delete

Don't SPAM! Read comment policy.