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 HTML2. Click on "Download Full Template" to backup your template.
3. Check "Expand Widget Templates"
4. Search for
<b:if cond='data:blog.pageType != "item"'> <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 == "static_page"'>
<b:else/>
<b:if cond='data:blog.pageType == "index"'>
<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:
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!
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
Thanks a lot! This is exactly what I need for my blog.
Thanks a lot for your valuable suggestion,I was searching for this hack for a long time.
Why not leave a comment? No matter what, I'd love to hear from you!
Post a Comment