WordPress.org

Support

Support » Plugins and Hacks » Display comment number as words?

Display comment number as words?

  • MitchellB
    Member

    @mitchellb

    Is there a way to modify the comment number to show a word instead of a number?
    Ex:

    Zero Comments
    One Comment

    I know those are possible just through the comment_number tag. But how about when you have more than one comment? The general use is just “%” to display the number in numerical form. Is there a way to display the number in word form?

    Does any of this even make sense? XD

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ze Fontainhas
    Moderator

    @vanillalounge

    Do you mean like this?
    <?php comments_number('zero', 'one', 'many'); ?>

    Ze Fontainhas
    Moderator

    @vanillalounge

    Do you mean like this?

    Just reread. You’re asking if it’s possible to have “two comments” and “three comments” and so on… It’s not possible with standard Template Tags, but I imagine a plugin could do the job…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display comment number as words?’ is closed to new replies.