Change comment script from plural to singular
Things that drive me crazy...I hate it when I look at a blog and it says "1 comments". I had a fix for classic blogger, but just realized that I didn't have one for the the new blogger. So, if it drives you crazy too, roll up your sleeves and dive in. But first...always first...backup your template! This fix requires you to go deep within the bowels of you template. GASP...the dreaded Expand Widget Templates. So, expand them and let's go!
First find this code in your blog. I'm basing this on the Minima template, so your code may be slightly different.
Step 1 Find this code:
<b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if>
Step 2 Replace that with this code:
<br /> <b:if cond='data:post.numComments == 1'>1 comment<br /> <b:else/><br /> <b:if cond='data:post.numComments == 0'>Reply to this post<br /> <b:else/><br /> <data:post.numComments/> comments<br /> </b:if><br /> </b:if> <br />
Step 3 Repeat Step 1 and 2 because this code is in your template twice.
Now you can get a little fancy and instead of where it says Reply to this post, you can put whatever you want. Like...Let's talk...Be the first to comment...Don't leave me hanging.
Now your blog is approved by the Emily Post Institute of Etiquette. Well. Maybe not. It depends what else you put in your blog. But at least she is smiling over your comment grammar.
41 Comments:
Great tip, this has been bugging me for months as well. It's the little things like this that help your blog look that much better.
Cheers,
Thanks Annie. I hate it when it says "0 comments". Now I hope there are comments on every post. Great!
Nice to see you are back and thanks for putting up this one, Annie.
Pooja
Dummy Essentials
good idea, This should has been corrected by wp team before they release it
Nice thinking. Thanks for posting up this one.
thanks for nice post...
Nice tips, I will try it in my blogspot's blog
hehe
this is a very hand trick
thank you
good work on your blog and this post is very nice and informative and i get allot help form your blog so good work!Web design and development
Thanks for this very clever tip!
Thanks for the tip, Annie. If anything, these type of changes make one's blog look more polished.
Nice input on your coding. Thanks for the code. You really have a talent in coding scripts. Maybe you can do more scripting in the future.
Great to see a fabulous work you have done,good effort and keep do update you blog.
Thanks for blog code......
Nick Wills
Thanks for the tips. I also have blog at blogspot, but my problem, its very difficult to make people to leave comment for my articles.
thanks again
regards
Nice tips to use
thanks
thanks, i've been looking for this script!
Thanks! Just this week I changed my line to say "comment(s)" cuz that same thing bothers me, too.
I just recently realize that your blog have many tips on customizing blogspot. The title of this blog is not about tips at all so it did not guide me right away. Anyway thanks for the code.
Would it possible to edit the comment where the visitors can click a reply to a comment?
And to think of it BlogSpot would have fixed it by now. Thanks for the update Annie.
I think is unethical when i see: 1comments. I rather make difference between singular and plural, and i have to appreciate your code!
I agree with u in this context "It depends what else you put in your blog. But at least she is smiling over your comment grammar
"
Hey Annie.
I have a suggestion....
I've tried the code above in the form it's posted, at first, and it didn't work for me. So I've looked into it a little bit and I figured out the problem. I just wanted to share this info, in case anybody else is experiencing this issue. Oh, BTW, these instructions are for Blogger users.
Step 1: Go to "Layout"
Step 2: go to "Edit HTML"
Step 3: press 'Ctrl + F'
Step 4: copy and paste this into the Find field: " /* ---( main column )--- */ "
Step 5: press 'Next' --> that will show you where is this element in your code
Step 6: BEFORE the " /* ---( main column )--- */ " section, insert the following:
/* ---( Wrap text around image )--- */
.left {
float: left;
margin: 6px;
}
.right {
float: right;
margin: 6px;
}
The rest is the same as Annie said.
Hope this was helpful, enjoy: Aniko
nice tutorial but I am looking for how to edit comment. I want to fix my comment it was mistype, could you help me please.
usb wifi
It is very cool. I changed my blog and it is working. Thanks - Thanks a lot : )
Wrong grammar in labeling in blog templates can be dreadful at times. Annie, just want to share. You don't need the '
' tags in the template code because the template code will just be replaced with something else (dynamic content), unless of you course you want extra spaces once that's converted to HTML code.
Useful tip, all the more! Best regards!
Cool. I could use that on some of my blogs. Keep the good articles coming:)
Thanks for the code. Very helpful.
you are always posting useful articles. this one also a good information.keep it up your great job.
Thanks for this. I really like what you've posted here and wish you the best of luck with this blog!
great tip, just what i was looking for
thanks
Thanks for putting this up and sharing with us. I was just look for this so keep up the good work!
its very nice. thank you so much for such a nice tips
Excellent information.
thanks for telling how to Change comment script from plural to singular. nice to learn new things from time to time!
From this one I've learned so many useful ways to promote a website. And I really excited to see how it gonna to attract more attention to my blog.
This is really an amazing post thanks for this
This is really interesting thanks for this it have been of great help i just love the way it was written
Very helpful skills! Thanks a lot for sharing.
It's very easy!, thanks for the information
hey Annie it makes sense. I see that I will need to go through most of your posts to adjust some of my blogs!
I will also be pasting some links, if you find it ok, accept my comments. Thank you!
I really enjoyed this site. This is such a Great resource that you are providing and you give it away for free. It gives in depth information. Thanks for this valuable information.