Can’t do that in WordPress but here’s a link to some PHP code that does:
http://www.phpbuilder.com/snippet/detail.php?type=snippet&id=585
Ahhh, brilliant. Thank you.
OK, I’m embarrassed to admit that I took a look at the code and can’t make heads or tails of it. I understand what it does, basically, but have no idea how to put it in place of the WordPress code. Can anyone help, or is this the wrong forum for that sort of thing?
Holy mackerel, I did it. Check it out at my photoblog @ seriouslyexcited.net.
I basically used the code MichaelH found and combined that with the comments_number function into a small plugin and that did the trick. Thanks again.
(@daltonrooney)
16 years, 11 months ago
Hi there –
I am using the following code in my template to display the number of comments per post (rather small number, unfortunately!):
Does anyone know of a way that I could display the total number of comments as words instead of numbers? For example, I like the way it displays “one comment“, but not as much “2 comments“, I would much prefer “two comments“.
I know this is a relatively small issue, and I’m certainly not losing sleep over it, but I’ve always wondered about it and thought I would at least ask.
Thanks,
Dalton