Welcome, visitor! [ Login | Sign Up ]

How To Add The Blogger “Read More” Expandable Posts Link

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. (Note that you’ll need to have post pages enabled in order to make this feature work.)

Step #1 – Update Your Template Code

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/> instead. Your template will for sure have this since it’s the tag that actually prints the body of your post.

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/> tag. Keep reading and hopefully the explanation will illustrate the concept clear enough so you are able to adapt this hack to your custom template.

Add the following code below the <div class=’post-header-line-1’/> and <div class=’post-header-line’> tags if you’ve got both.

<b:if cond='data:blog.pageType == "item"'>

The result should look something like this:


If you don’t have the default <div class='post-header-line-1'/> tag then your result should look something like this instead. This is how it would be done in the MushBlue Blogger custom template:


Notice in both examples that the code in yellow and the <data:post.body/> tags are the same — it’s just tag above it that will differ based on the template you’re using.

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/> tag so copy the following and paste it in. Feel free to change the “Read more…” text to whatever you want the link to look like. Be careful not to delete any other code during this process.

<b:if cond='data:blog.pageType != "item"'><br />
<a expr:href='data:post.url'>Read more...</a>

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/> as shown in the image above.

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 < while pasting in the new code. If it saved successfully, it’s time to move onto the next step and modify a quick Blogger format setting.

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">


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 <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 comments 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 that’s 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!

Ready to super charge your blog? Check out our professional premium blogger templates or make money by joining our blog affiliate program!

If you like this post then please consider subscribing to our eBlog Templates RSS feed. You can also subscribe by email and have new templates and articles sent directly to your inbox.


576 Responses to “How To Add The Blogger “Read More” Expandable Posts Link”

Robert on Nov 9, 2008, 2:53 am  

I used this code and it works perfectly in IE but its not working in firefox.

Any idea’s why?

rajesh n on Nov 9, 2008, 3:08 am  

thank u
it is working

Exclusive Ave on Nov 18, 2008, 8:30 pm  

I went to 5 different search results trying to do this and it kept giving me errors, your break down was short and smooth thank you…

do you know anything about creating flash widgets? I want one that slide shows pics but when you click it takes you to my post,(like on allhiphop.com), I want specific post in the widget tho. thanks again…

neha on Nov 19, 2008, 1:06 am  

Myself too stuck up at the “READ MORE” at every post (as earlier sated by Kate #32 , others..), though i need it or not. Did anyone got the solution to remove it from short posts..

nickel22 on Nov 24, 2008, 2:42 pm  

thx, attention that ther is an error – i think – when you change fullpost display property in your code miss if




nickel22 on Nov 24, 2008, 2:57 pm  

uff .. tag code dont work properly.. however you must check if and /if when change fullpost style attribute. End tag of if-statement is missing.

dhinluvers on Nov 25, 2008, 11:05 am  


thks so much…i really love this site…

devid on Nov 26, 2008, 2:51 am  

😛 ilike this site

StEElBeaUtY on Nov 29, 2008, 2:56 am  

thx :smile:

S.A. Andrews on Dec 2, 2008, 8:31 am  

Thanks for the expandable text. Love the Aspire template just needed the expandable text.

slym on Dec 2, 2008, 10:29 am  

This is a great article, I followed the steps given over here and was able to work out the solution for my problem.

S.A. Andrews on Dec 5, 2008, 9:51 am  

Am trying to use Windows LiveWriter, cannot get the Read More to work. Worked great on Blogger.

thanks . . . ..

anuj on Dec 5, 2008, 10:02 am  

showing error on both of my sites


Antonia on Dec 6, 2008, 7:47 am  

My layout does not have this codes, and I don’t know why. I really need the Read More option.. is there another way to do it?

elman on Dec 7, 2008, 12:20 pm  

works fine with firefox, but page does not fully loads in IE, when I use Read More feature. When I remove it it is again OK. Is there another option to use or load the page fully with Read More?


besballbat on Dec 9, 2008, 7:15 am  

hey, thanks…this is what I’m looking for and it is work on me…nicely done.

check mine here

StEElBeaUtY on Dec 12, 2008, 9:20 am  

Read the word appeared more on the old messages but did not shorten the messages appeared complemented at the end of the word Read More


Knowing that I wrote in the letters the old code

Joey on Dec 12, 2008, 11:14 pm  

Yap! me also looking about how to do that. Luckily I found this post.

Thank you very much!;-)

moonlightafridi on Dec 15, 2008, 1:27 am  

I’ve tried too many time. didnt any mistake , even then its not work for my blog


Tedn on Dec 17, 2008, 11:25 am  



Read more…

I keep getting an error:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type “b:if” must be terminated by the matching end-tag “”.

I also had to add after data post body because it wasn’t on mine like it was on your screenshot

Tedn on Dec 17, 2008, 11:27 am  



//Read more…

I keep getting an error:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type “b:if” must be terminated by the matching end-tag “”.

I also had to add after data post body because it wasn’t on mine like it was on your screenshot

Tedn on Dec 17, 2008, 11:28 am  

trying to cut an paste so you can see what i’ve entered ug

Daniel on Dec 17, 2008, 1:50 pm  

I have tried it, but after done, i found a error message. so, i need your help. Send me via E-mail. Thanks. sorry if my english so bad. im indonesian. i’m 15 years old.

syedsafwan on Dec 18, 2008, 4:06 am  

i used blogger daya earth theme….
i cant use this…
i dont know how??
can anybody tell me how to do this???
i cant find the answer.
it’ll be very helpful..
this is my blog http://warezlinkin.blogspot.com

pls email me for the answer : syedsafwan@gmail.com

nickel on Dec 18, 2008, 7:59 am  

yes, see my posts otherever the image after phrase “Now let’s look at what the final result should be. Here’s the updated code block you just worked on all put together:”

see first yellow-box? ok, miss the tag


(i hope that code tag works in comments)

PS: David please correct your article because is wrong. Bye

Skytteflickan88 on Dec 19, 2008, 12:22 am  

Thanks for making this article.

The only problem I’m having is that in every post, not just the ones that I edit, it says READ MORE at the bottom, even tough there’s nothing to read and I didn’t mark taht post.

It’s kinda annoying.

Still, thanks for your help.

perikles on Dec 19, 2008, 1:38 am  

i have made it a lot of times but it doesn’t work can anybody please help me?
here is my code



Read more…

Rahul on Dec 21, 2008, 12:21 am  

m using Ads Theme Blogger Template
i tried it but its not working
can any 1 help me?

ashwin on Dec 28, 2008, 9:13 am  

hai friend this trick is not working on my site can u please help me by giving other code.

Galano on Dec 28, 2008, 8:41 pm  

Thank you!
just needed!
works great!

CashGiftingReview on Dec 30, 2008, 11:24 am  

http://www.youtube.com/watch?v=lHJJy3uH3G8 I used these templates on my site for great results

fiat2live on Dec 30, 2008, 7:37 pm  

doesn’t work for older posts please respond

bunkka on Jan 3, 2009, 7:31 am  


The “Read more” is visible even if i dont use that code in my posts. How can I solve this?
(its quite annoying at posts in which there is no use of reading more)

P.K.ARUN on Jan 6, 2009, 5:34 am  

hai frnd pls help me i done all steps successfully but i am not see

” Read more ”

option in posting option (as shown in step 3 fig) so what i want to do pls pls pls… rply me yaar… i’m waiting for ur rply.


P.K.ARUN on Jan 6, 2009, 5:51 am  

hay frnd now i this hack is worked for me thanks.

but after doing this hack in my blog the colour box(used to change the colour of text) is not seeing in posting box what i want to do pls help me.

ube on Jan 6, 2009, 11:11 am  

thank you so much…hehe

i finally got it…after hours of trying…hehe

ur explanation was the best among the rest..hehe


Kartik on Jan 7, 2009, 11:38 am  

Thanx dude…u made my day.Very well written and easy to understand…thnx again

Navjeet Singh on Jan 9, 2009, 2:43 am  

hi..my blog template already includes this ‘read more’ but i wanna remove it. Please help me

Hamster on Jan 9, 2009, 1:29 pm  

Nice article.. I google all the way to find this and at last i found it here.Thx!


David on Jan 9, 2009, 1:42 pm  

@Navjeet Singh, just do the article steps in reverse to remove the ‘read more’ feature.

harfehesaab on Jan 10, 2009, 12:45 pm  

It does work on my blog it give the same prompt as Tedn. Some have said miss this miss that display this or that. Could you please confirm what is the right code.

Shailendra on Jan 11, 2009, 6:05 am  

Hi there just wanna ask that isn’t there a easier way to add read more button to the older posts??
i have got 90+ posts & it’ll take ages to edit with my creepy internet connection!
😛 😉

Tech Talker on Jan 14, 2009, 7:29 am  

Thanks and worked like a charm within minutes.

Keep up the good work.


aksta on Jan 14, 2009, 8:23 am  

hi i am using Mac i theme Template and not found above keywords which you are written to find please Help Me !!!!!!!

David on Jan 14, 2009, 12:36 pm  

@aksta, make sure you check the “expand HTML” checkbox before you start searching for the tags.

jak on Jan 19, 2009, 11:41 am  

When I install your hack, it results in my blog only displaying the first two posts on the main page. There are a total of 5 posts on the main page and only the first two are viewable in Internet Explorer. It works find in Firefox.

How can I fix this?

zeta on Jan 19, 2009, 11:27 pm  

hey david, is it possible to make the hack but to expand the post in the same window and not to open the post.

anyways your hacks works fine. but i want to know if is possible the other form

Say Cheese on Jan 21, 2009, 8:37 am  

Thanks for this quick tip. I’ll try to use this tip in my site too.

Do visit my site too.

Brandt on Jan 22, 2009, 10:01 am  

Hi David,

I am using the Minima Black layout, and everything is working fine except this part:

“For some posts, you might not want to use this feature at all. If that’s the case, just delete the and 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!”

The ‘Read More…” Shows up no matter what

Leave a Comment

Putting spammy or irrelevant links in your comments will result in deletion and potental banning.