Support » Fixing WordPress » Displaying no comments heading?

  • Resolved Tanya

    (@pjtna)


    I’m not sure why this doesn’t work or if I’ve just got it all wrong. I want a heading at the bottom of my posts to display when there are no comments.

    At the moment I have the code:

    <?php comments_number('No comments... Be the first!', 'One comment', '% comments... <span>Read them below or <a href="#respond">add one</a></span>' );?>

    I thought that this would display “No comments… Be the first!”, but it does not.
    My website is http://www.peterahrens.com.au.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying no comments heading?’ is closed to new replies.