Title: comment_form() doesn&#039;t work
Last modified: August 20, 2016

---

# comment_form() doesn't work

 *  [johnb41](https://wordpress.org/support/users/johnb41/)
 * (@johnb41)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/comment_form-doesnt-work/)
 * I currently am using the old school code for adding comments in comments.php,
   but I want to clean things up and modernize the site by replacing all the code
   with this:
 * <?php comment_form(); ?>
 * I put it into the comments.php file. The form for entering the comment works 
   fine, but no actual comments appear. All the comments are approved, yet all I
   ever see is the form for adding a new comment, I never see any actual comments.
 * Once I revert back to my old code the comments show up again. It’s my understanding
   that the single line of code above is all I need for a basic commenting system,
   and I’ve read the codex and tutorials on the web and it confirms that it’s the
   only required bit of code.
 * Can anyone help? Thanks!

The topic ‘comment_form() doesn't work’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [johnb41](https://wordpress.org/support/users/johnb41/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/comment_form-doesnt-work/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
