Title: comments_number and comments_link
Last modified: August 18, 2016

---

# comments_number and comments_link

 *  [valloq](https://wordpress.org/support/users/valloq/)
 * (@valloq)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/comments_number-and-comments_link/)
 * I am trying to achieve this result:
    There are no comments There is 1 comment
   There are x comments
 * I cannot use the normal comments_popup_link for this simply because I don’t want
   the entire “are no comments”, “is 1 comment”, “are x comments” to link, only 
   the “no commments”, “1 comment” and “x comments”.
 * Here’s what my tag looks like:
    `<code> There <?php comments_number('are <a href
   ="' . comments_link() . '"> no comments','is <a href="' . comments_link() . '"
   > 1 comment','are <a href="' . comments_link() . '">% comments'); ?></a> </code
   >
 * And it’s outputting totally screwy code to the point where I don’t know what 
   it’s doing. Any help?

The topic ‘comments_number and comments_link’ is closed to new replies.

## Tags

 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [valloq](https://wordpress.org/support/users/valloq/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/comments_number-and-comments_link/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
