Hide Read More Link In Blogger Static Pages


Read-More-Button The Read More link tutorial that I previously shared summarizes all posts to a specified length but then it even appears on Blogger’s newly introduced Static Pages where it should not be. I was scratching my head on how to solve this problem when Sam of Plenty Of E-books came to my rescue. He provided me with a code that shortens posts and also doesn’t let the read more link or button to appear on static pages. So lets replace our old code with this more updated one.

Note:- If you have never implemented this trick before then kindly read this tutorial first –> Add Read More Link To Your Posts

 

 

How To Summarize Posts and Hide Read More Link in Static Pages?

  1. Go To Blogger > Design > Edit HTML
  2. Backup your template
  3. Search for the old read more code which looks like this,

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

<div style="text-align: right;">Read More ->></div></a>
</b:if>

 

or something similar to this. Simply replace it with this one,

<!--READ-MORE-STARTS-->
<b:if cond='data:blog.pageType == &quot;static_page&quot;'><br/>
<b:else/>
<b:if cond='data:blog.pageType == &quot;index&quot;'><br/>
<a expr:href='data:post.url'><div style='text-align: right;'>
<img height='33px' src='IMAGE URL OF READ MORE BUTTON' width='120px'/></div>
</a>
</b:if>
</b:if>
<!--READ-MORE-STOPS-->

 

kindly replace IMAGE URL OF READ MORE BUTTON with Image link of your read more button. If you don’t have a button then grab one from some of the buttons I designed in past,

Visit these links,

 

Save your template and view your static Page to see it working just perfect! Peace :)

Need Quick Help within 24 Hours? ASK NOW



If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

16 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with 'Links' will be deleted immediately upon our review.

  1. Hello Mohammad,
    Brother you are too fast too furious,thanks a lot.
    hey can you tell me how to implement comment section in static page in blogger i am using disqus, please help me brother.

    ReplyDelete
  2. Thank You Mohammad for giving the credit :)

    But I think you missed the Date Hack which you told can happen with this code only...

    @Jeet
    I would suggest to use the default blogger comment form because of some following reasons:

    1. Disqus comments loads slow as so your blog too get slow.

    2. Its not SEO friendly I think. I don't know much about SEO but I read it somewhere.

    3. I even tried to install it but wasn't successful and didn't wanted much of a headache :p

    Thank You
    Samsexy98

    ReplyDelete
  3. @My World4Free
    I am too using Jump Break but that do not work on Static pages for me.

    ReplyDelete
  4. @samsexy:
    thank u for your advice, ya i have shifted to blogger comment

    ReplyDelete
  5. @Dholakia

    Anytime pal and for comment system stick to Blogger. Simply the best from every angle. What looks good doesn't always taste good. Hope you get me :D

    @Sam
    For you I believe I would have to write some SEO related posts and I was wondering I should.

    @Myworld

    Jump break could be an alternative I agree dude.

    @LinkFoci

    A Pleasure! :)

    ReplyDelete
  6. @Mohammad
    Hahahaha...
    I am really a Dumb-ass when it comes to SEO and that reflects in my site...:p

    Its because I don't understand how to implement it..

    ReplyDelete
  7. @Tariq
    Please find a better place to advertise..

    ReplyDelete
  8. @Ayush
    Try removing the following two things from the code..




    Don't understand why its saying that its not permitted...

    ReplyDelete
  9. Oops sorry...
    The thing that was to be removed didn't came in my comment..
    Here it is...
    [!--READ-MORE-STARTS--]
    [!--READ-MORE-ENDS--]

    Replace '[' with '<'

    ReplyDelete
  10. @Ayush

    Sorry for the inconvenience. I have edited the code above. you can now use it.


    @Sam
    Yes the problem was with the HTML comments which was incorrect and now the code will work just fine.

    ReplyDelete
  11. What have you edited??? Confused here...<'.'>'

    ReplyDelete
  12. I had mistakenly wrote the ending comments as <!--READ-MORE-STOPS-> instead of <!--READ-MORE-STOPS-->

    HTML can't be messed. :p

    ReplyDelete
  13. ohh..
    That was just a difference of a hyphen that's y didn't get what was wrong..

    ReplyDelete
  14. I have successful blog but now I want to switch to WordPress as it has a lot more great options which are available in blogger. Is my switch from blogger to WordPress is going to be the biggest mistake in regards it will decrease my traffic and other stuff.

    ReplyDelete
  15. asalam o alaikum.. mery blog k pages mai comment box show nh hora plz help me

    ReplyDelete