Sunday, May 15, 2011

How to Remove "Read More..." in Static Page in Blogger BlogSpot

Recently, I have noticed that I have the "Read More..." text link on my static page. It is annoying me because there is nothing with that link when we click on it. So, I decided to take a look at it to see if I can remove it. It turned out that it is easy to remove that "Read More..." text link.

In this post, I'll show you how I made that change. You can follow what I did on your blog.

1. Login to your account --> Design --> Edit HTML
2. Click on "Download Full Template" to backup your template.
3. Check "Expand Widget Templates"
4. Search for
<b:if cond='data:blog.pageType != &quot;item&quot;'> <a expr:href='data:post.url'><span style='float:left; ><b>Read More...</b></span></a> </b:if>
5. Change it to
<b:if cond='data:blog.pageType == &quot;static_page&quot;'> 
<b:else/>
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<a expr:href='data:post.url'><span style='float:left; ><b>Read more... </b></span></a>
</b:if>
</b:if>

In case, you have that issue, hope it can help you.

4 comments:

  1. Hi:

    I would like to implement this hack for my contact (static page) but I am using a 3rd party template. The area for the "read more" looks like this.

    [p][data:post.body/][/p]
    [b:else/]

    [style]#fullpost{display:none;}
    [/style]

    [p][data:post.body/][/p]
    [span id='showlink']

    [a expr:href='data:post.url']

    [font color='000000' face='tacoma' size='3']
    Read More...
    [/font][/a]
    [/span]
    [script type='text/javascript'>checkFull("post-" + "");
    [/script]
    [/b:if]

    [div style='clear: both;'/]
    [!-- clear for photos floats --]
    [/div]

    Also, how do I remove the "Links to this Post" and the "email" gif as well.

    Thanks for your help!

    ReplyDelete
  2. i can't do that in my blog. i have to use posts instead of pages due to this read more hack somewhere in the javascript codes of the template.

    check it here and suggest changes.
    http://www.gulshanelectric.com

    thanks and regards

    ReplyDelete
  3. Thanks a lot! This is exactly what I need for my blog.

    ReplyDelete
  4. Thanks a lot for your valuable suggestion,I was searching for this hack for a long time.

    ReplyDelete