• This is what my comments_number code looks like at the moment:

    <?php comments_number(‘No comments’, ‘1 comment’, ‘% comments, ‘number’); ?>

    I want the output to be linked to the very first comment on the single page, if there are any comments. This means that all outputs, except ‘no comments’, will be linked.

    How do I go about doing that?

Viewing 1 replies (of 1 total)
  • `<?php
    if(comments_number(0, 1, ‘%’) > 0) {
    #popup
    }else{
    echo ‘No comments’
    }
    ?>`
    Something like that?

Viewing 1 replies (of 1 total)
  • The topic ‘Customizing the comments_number output’ is closed to new replies.