Title: No comment.php
Last modified: August 20, 2016

---

# No comment.php

 *  [intcon](https://wordpress.org/support/users/intcon/)
 * (@intcon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/no-commentphp/)
 * Hello…
 * In a site template I’m working on there is no comment.php. I need to have comments
   available…can I add a comments.php (and where do i get one!) and make comments
   work? or is there more to it than that?
 * thanks!

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/no-commentphp/#post-2964010)
 * comments do not primarily depend on teh existence of comments.php in your theme–
   a default comments.php will get used.
 * try to enable comments through the dashboard settings:
 * _**dashboard – settings – discussion**_
 * and
 * _**dashboard – pages – all pages**_ – click **quickedit **below a page title –
   tick **‘enable comments’**
 * same for _**posts**_
 * or
 * _**dashboard – pages – edit page**_ – click _‘screen options’ _near the top right–
   tick _‘discussion’ _– this will enable a field below the page editor where you
   can **‘enable comments’**
 * same for _**posts**_
 * make sure that single.php and page.php have some code with `comments_template();`
   after the content; [http://codex.wordpress.org/Function_Reference/comments_template](http://codex.wordpress.org/Function_Reference/comments_template)
 * what theme are you working with?
 *  Thread Starter [intcon](https://wordpress.org/support/users/intcon/)
 * (@intcon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/no-commentphp/#post-2964047)
 * it’s a custom theme built for this group of ladies.
 * all of the dashboard settings are there, the screen options are there….but when
   i post a comment the entire page disappears and it redirects to wp-comments-post.
   php
 * there is no comments_template() in single.php and there is no page.php, but there
   is a home.php with no comments_template in it either…of course there’s also no
   after the content in home.php either.
 * anyone have any thoughts? this is driving me cuh-razy….
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/no-commentphp/#post-2964062)
 * > there is no comments_template() in single.php … but when i post a comment
 * weird – where do you post the comment, if the there is no ‘comments_template()’
   code in your theme?
 * have you added any other comment form code to your theme?
 * can you post a link to the page where you can post comments?
 *  Thread Starter [intcon](https://wordpress.org/support/users/intcon/)
 * (@intcon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/no-commentphp/#post-2964069)
 * heres the page
    [http://smartasswaitress.com/category/news](http://smartasswaitress.com/category/news)
 * and i added this code `<?php global $withcomments;
    $withcomments=1; comments_template();?
   >` to that page to make the comment box show up…
 * i’m off to work, will check back this afternoon!

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

The topic ‘No comment.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [intcon](https://wordpress.org/support/users/intcon/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/no-commentphp/#post-2964069)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
