Title: Comments Not Available
Last modified: August 20, 2016

---

# Comments Not Available

 *  [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/)
 * Hi, Just finished my site and i wanted to be able to add comments at the bottom
   of some pages. After checking the right boxes in the dashboard i still can’t 
   see any way for users to add comments!. maybe i have deleted the code by mistake
   or something. My site is [http://www.rosielocks.com](http://www.rosielocks.com)

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

 *  [wpismypuppet](https://wordpress.org/support/users/wordpressismypuppet/)
 * (@wordpressismypuppet)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901847)
 * You need to add:
 * `<?php comments_template(); ?>`
 * Where ever you want comments to appear! The checkboxes just allow for that to
   happen, but if you’re missing that line of code, it’ll never show anyway. Typically
   it’s found at the bottom of your single.php page, but it can be placed anywhere
   you want people to leave/read comments.
 *  Thread Starter [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901849)
 * Hi, Was just looking in the library of my theme and i can’t seem to find the 
   single.php file in there. I made my template in artisteer and exported it to 
   wordpress. Any idea where i might find
    single.php?
 *  Thread Starter [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901850)
 * sry template should read *theme
 *  [wpismypuppet](https://wordpress.org/support/users/wordpressismypuppet/)
 * (@wordpressismypuppet)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901852)
 * single.php is the page that would show a single post… Usually in a blog you’d
   have a “page of posts” showing a list of posts and a short excerpt. When you 
   click on one of the posts, you are taken to single.php to see the whole post.
 * If you don’t have a single.php, then the single posts would display on index.
   php by default.
 * If you are working with pages, and not posts, then you should have a page.php
   file. If you don’t have that, pages will use index.php by default.
 * Check out the WordPress [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
   for more info on what items use what files to be displayed!
 *  Thread Starter [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901859)
 * I found the index php in the public.html folder and edited to read
 * <?php
    /** * Front to the WordPress application. This file doesn’t do anything,
   but loads * wp-blog-header.php which does and tells WordPress to load the theme.**
   [@package](https://wordpress.org/support/users/package/) WordPress */
 * /**
    * Tells WordPress to load the WordPress theme and output it. * * [@var](https://wordpress.org/support/users/var/)
   bool */ define(‘WP_USE_THEMES’, true);
 * /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.
   php’);`
 * I realised i must not be on the right track when my site disappeared. Am i on
   the righ track?
    ` <?php comments_template(); ?>
 *  Thread Starter [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901860)
 * sorry about that mess i highlighhted the code and pressed code but i guess i’m
   doing that wrong as well!
 *  [wpismypuppet](https://wordpress.org/support/users/wordpressismypuppet/)
 * (@wordpressismypuppet)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901861)
 * No no no no no… Undo that at once! 🙂
 * The files you are going to be looking for will be located in public_html/wp-content/
   themes/[name of your theme]/
 * Replace [name of your theme] with the name of your theme. You should find an 
   index.php file there, but now that I know you are looking in the wrong place,
   you might find single.php and others 🙂
 *  Thread Starter [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901865)
 * Great Thanks! i have edited the page.php to show comments at the bottom of the
   pages where i need them ( :. However they are aligned to the left and i would
   like them to be centered. Could you help me with this please?.
 * Also i have a ‘blog’ page on my site where all posts will be displayed – which
   php file do i edit to display comments at the bottom there?
 *  Thread Starter [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901867)
 * ignore my comment about the blog page please.
 *  Thread Starter [rosielocks](https://wordpress.org/support/users/rosielocks/)
 * (@rosielocks)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901870)
 * ok worked it out – i had the code in the wrong place. Thanks for the help ( :
 *  [wpismypuppet](https://wordpress.org/support/users/wordpressismypuppet/)
 * (@wordpressismypuppet)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901934)
 * You are welcome!

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

The topic ‘Comments Not Available’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [wpismypuppet](https://wordpress.org/support/users/wordpressismypuppet/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/comments-not-available-1/#post-2901934)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
