php comment_link not working for zero quantity
-
Hello all,
I’m using the comment_link tag to pull comment counts and use them as clickable entry points to posts.Problem is, it’s not working for posts with zero comments! Works fine for posts with one or multiple comments, but I can’t figure out how to get zero working.
here’s my tag:
<a href="<?php comments_link(); ?>"> <?php comments_number(__('0'), __('1'), __('%')); ?></a>
It seems like such a simple tag, what am I doing wrong?
edited for clarity.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘php comment_link not working for zero quantity’ is closed to new replies.