Title: Comments link doesn&#8217;t work with default code
Last modified: August 19, 2016

---

# Comments link doesn’t work with default code

 *  [traceyrickard](https://wordpress.org/support/users/traceyrickard/)
 * (@traceyrickard)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/comments-link-doesnt-work-with-default-code/)
 * Originally I was using the default theme loop in my own theme and in particular
   the block below:
 * `<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?
   >`
 * When using the **default theme**, I clicked on _no comments_ under the post and
   it went through to display the post on its own with the comments input form underneath.
 * When using **my theme**, I clicked on _no comments_ under the post it went through
   to display the post alone with **no** comment input form.
 * The code in the two themes was identical.
 * I have added the following code to my theme and now it displays the comments (
   if there are any) and the input form below.
 * `<?php comments_template(); ?>`
 * My question is why do I need that extra line of code in my theme to show the 
   comments and the comment input form when the default theme does not need that
   extra line of code?
 * I know this isn’t what you would call life threatening but it is bugging me…

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/comments-link-doesnt-work-with-default-code/#post-1431990)
 * `<?php comments_template(); ?>`
 * is in the default theme….. in single.php (is that what you were referring to?)
 *  Thread Starter [traceyrickard](https://wordpress.org/support/users/traceyrickard/)
 * (@traceyrickard)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/comments-link-doesnt-work-with-default-code/#post-1432111)
 * You have so answered the question! I had the page single missing from my theme
   which of course is where the correct code is.
 * Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Comments link doesn’t work with default code’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [traceyrickard](https://wordpress.org/support/users/traceyrickard/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/comments-link-doesnt-work-with-default-code/#post-1432111)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
