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.
(@pjtna)
13 years, 10 months ago
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?