• Is there any way that I can make the number of comments (beyond 0 and 1) be spelled out, ex: “fifteen comments” as opposed to “15 comments”?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Lizzy

    (@lizzy)

    nobody?


    function comments_number($zero='No Comments', $one='1 Comment', $more='% Comments', $number='')

    thats the line you need to change, which should be in wp-includes/template-functions.php or wp-includes/template-functions-comments.php depending on the version of WP you are using.
    you could change that line to

    function comments_number($zero='No Comments', $one='one Comment', $more='% Comments', $number='')

    if you want to do “two comments” and so on, a little bit of programming might be required
    ??

    I mashed together a quick hack that should do what you want.
    You can download it here.
    And see it working here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘comment numbers’ is closed to new replies.