WordPress.org

Support

Support » Themes and Templates » [Resolved] Number of comments – words instead of numbers?

[Resolved] Number of comments – words instead of numbers?

  • Hi there –
    I am using the following code in my template to display the number of comments per post (rather small number, unfortunately!):

    <?php comments_number('no comments','one comment','% comments'); ?>

    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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Number of comments – words instead of numbers?’ is closed to new replies.
Skip to toolbar