How to Create "Continue Reading…" or "Read More…" Link for Blog Post in Blogger ?
First you need to edit your existing code so I recommend copying and pasting it into notepad or any text editor. Also, it’s smart at this point to create a backup of your template just in case something goes wrong. Now do a search (CTRL + F) within the text editor for the following code post-header-line-1. This is the default code that Blogger includes but some custom templates remove or change this code so you might have trouble finding it. If you can’t locate this text then try searching for <data:post.body/> Now depending on which code you were able to find will determine how easy the next steps will be. You might need to do some detective work first in order to get this working properly in your custom template. The idea is to get this new code into your template before the <data:post.body/> Add the following code given below the <div class=’post-header-line-1′/> and <div class=’post-header-line’> tags if you’ve got both.
This is a pretty popular Blogger hack that lots of people have asked me about. Instead of answering to each email individually, I thought it would make more sense to write an article about it.
With this hack, you can choose to display a select amount of text from the beginning of each post as a teaser instead of showing the entire post on the front page of your blog. Then when people want to read the rest of the post, they can click a “read more” link to see the full post. This is very handy if you have lots of long articles all on one page.
Step #1 – Update Your Template Code
<b:if cond=’data:blog.pageType == “item”‘>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>
The result should look something like this:

Notice in both examples that the code in yellow and the <data:post.body/>
Now let’s add one more bit of code which will actually create the “read more” link in your post. This code will go below the <data:post.body/>
<b:if cond=’data:blog.pageType != “item”‘><br />
<a expr:href=’data:post.url’>Continue Reading…</a>
</b:if>
</b:if>
Yes, there are supposed to be two </b:if> tags in the above code so don’t think it’ s a mistake. The result should look like this:

This code will be the same no matter what template you are using. Just make sure it goes below the <data:post.body/>
Now let’s look at what the final result should be. Here’s the updated code block you just worked on all put together:

Ok, you’re all done editing the template code. Paste it back into your Blogger html window and save it. If you get an error, you made a mistake. The most common mistake is to accidentally delete a > or <>
Step #2 – Add a Class Tag in Your Default Post Template
For this step, you need to navigate in your Blogger account to “Settings” => “Formatting” and scroll all the way down to the bottom. It’s the last option called “Post Template”. You’re going to paste in the following code:
<span class=”fullpost”></span>
You’ll want to keep the spaces in there which will make sense later. After you save this, it will look like this:

Step #3 – Create a New Post
Ok, we’ve got everything all setup so it’s time to go and test it out. Hopefully you’ve got a new post in mind for your blog. If not, then we’ll just create a test post which you can later delete. When you click on the “Posting” tab, you’ll notice that the post text area is now pre-populated with the <span class=”fullpost”> and </span> tags. If not, then you didn’t save it properly so go back and re-read step #2.
So when writing your new post, anything you put above the the <span class=”fullpost”> tag will be the teaser text. The main body of your post needs to go in between the <span class=”fullpost”> and </span> tags in order for the “read more…” link to work properly. See the screenshot below. Sometimes pictures illustrate better than words.

Now publish or preview your post to see the “read more” hack working on your blog. If it doesn’t show up for some reason, go back and run through the steps again. Most likely you pasted the code blocks in the wrong places. It’s difficult to troubleshoot these issues since each template can be unique so please make sure to double-check your template before asking for help in the comme
nts section below.
Here’s the live post with the “read more…” link properly working based on the text I used above in the post text area.

Additional Info
If you want to go back and update your old posts with this new “read more…” feature you can. Just go back and edit each post manually. Essentially you’ll need to paste in the <span class=”fullpost”> and </span> tags breaking apart the post into two parts.
For some posts, you might not want to use this feature at all. If thats the case, just delete the <span class=”fullpost”> and </span> tags from within your new post text area. Then your new post will show up entirely just like it used to before you implemented this hack. Enjoy!
[source]
Also Read : How to Show Related Posts / Articles in Blogspot Blogs.
Post by Debajyoti DasNext »




25 Responses »
Rajeelkp : Isn't this hack , taken from e-blogtemplates
I've seen it there
Debajyoti Das : I know Friend, I didn't say this was discovered by Me or Stuff. I just posted it here as a collection of the most used Blogger Hacks.
PoSzkole : Unfortunately, this hack does not work on Internet Explorer 6-7 ;/
Debajyoti Das : @ PoSzkole - No Dude it works with IE 6-7
Pulkit : i couldn't find data:post.body/ tag in my blogger template
Debajyoti Das : @ Pulkit
First, Make sure to "Expand Widget Template" in the Edit HTML page.
SRI GANESH.M ♪♥ : great one iam looking this one for a long time.
Anonymous : I've visited your blog and it appeared that the content on your site is exceptional and I believe your visitors and our visitors have similar demographics and interests. We have developed and maintained high quality content and links on our website to ensure success without competing with your website. I would like to make a request to enter a mutual understanding by exchanging links with your website in order to get targeted visitors, higher ranking and link popularity.
I Need Google page rank pr-1 And Above.
i Will Give You Link At Here any One site.
http://www.submitscript.com/site_page.php?page=11
http://www.vbextra.com
We look forward to linking our site with yours, as exchanging links would
Benefit both of us.
Below are the title and description of our website
Title : - van insurance
URL : - http://www.vansales.com/Directory/Van-Insurance-Companies/
Desc : - van insurance
HTML Code: -
van insurance - van insurance.
Thanks
E-Mail: webmaster.seo007@gmail.com
sop : great post
SAVAD.AM : Thanks for this hack
Result is here
http://techol.blogspot.com/
Erisha : I've tried this. I don't know why it only works on one post and when I edit the other old posts or create a new one, it does not work. Help please.
Debajyoti Das : @ Erisha - You have make sure that the codes are at the proper place.
Karl Zada : I can't find the codes listed in Step 1..but I tried Step 2 and 3. As of now, it's not showing yet but hopefully it will come out later when i checked it again.
Thanks for sharing. your tribe may grow
Karl Zada : I think I made a mistake with my first comment. I should say I can't find the codes enumerated in Step 1 in my html page. That's why I can't proceed to Step 2 and 3
Karl Zada : Hi Debayyoti, Im so sorry, I am flooding you with my comments. I have found out the codes in Step 1 but my problem now is I am getting the message your template could not be parsed everytime I save it.
I made sure I put the correct code including the < or> but I still I getting the same error. any help?
Debajyoti Das : @ Karl - Simply... Follow the Steps from the Beginning.... and every time you make a change try to PREVIEW it...
Plus this hack working Fine....
Praveen : Debajyoti Das is there any way to make Read More Link for all Posts atonce for this Premium Template,
http://praveenkumarg.blogspot.com
Only Few Blogger Templates Provides this Option.
Debajyoti Das : @ Praveen - No, Friend its all about Finding the "fullpost" stuff inside your post body. So you have to edit your all old posts manually.
jigar : hey.. i am not getting the html code given in the first step in the html code of my template jigar’s last blog post..What's Important : Imagination or Logic?
Debajyoti Das : @ Jigar Ji - After you Go to EDIT HTML Page , Make sure to Check (Tick) on the Expand Html Option...
harminder : It works fine in IE but in chrome it shortens on first post and all other posts are shown full with "continue reading.." at the end of it which doesnt make any sense.
Audrey Phillips : Link Popularity is very important specially if you want your websites to rank higher in google.`;-
ardeeboi : i have tried this long ago. i know this code is implemented on all posts, however, my prob is i have posts that are just short and no need of this feature. how do we go about this? thanx in advance :)
Nic : when you place the codes and blogger rejects it, copy the code and take it to http://www.blogcrowds.com/resources/parse_html.php click on parse, what ever it brings out , paste in in your template and continue the other steps.
Lagan Pillay : This place just keeps on getting bigger every time I see it. You should definitely be happy.
» Leave a Reply