Forums
(@lucas_man)
16 years, 9 months ago
Is there a way this can be prevented. Some check that if a certain username is registered it can’t be used anymore and raises an error when the comment is submitted?
Thanks, Lucas
Already got it
Changed the part that says ‘on’ into: <?php if ($comments); comments_number(‘ – ‘, ‘ on ‘, ‘ on ‘ ); ?>
When there are no comments WP returns Last comment: on
How can I check if there are comments or not so I can change ON into – when there are not comments!
So something like:
<?php if ($comments) echo("op"); else echo("no"); ?>
?????