tags:

views:

68

answers:

3

Does anyone with experience using wordpress know why it would not use my comments.php file that is in a theme folder?

A: 

You need to include the following in your template's single.php to include comments:

<?php comments_template(); ?>

Use the default template that comes with WordPress as a reference.

Doug Neiner added this as a comment first so if he posts it as an answer please choose his.

Cryo
Yes I have <?php comments_template(); ?> in single.php but somehow it is like bypassing it and loading a different comment post form from some unknown location, I been searching all day to see where it is puling it from, I even tried deleting every other theme and directly linking to the correct comment file and still does not seem to work the way it should
jasondavis
it is acting as if it has cached an old comment.php file and is using it instead but I don't see any cache files anywhere so I dont think that is the case
jasondavis
A: 

If you already have <?php comments_template(); ?> in place (which you do) then it could be a file permission issue.

Also, it is probably pulling from classic or default if it can't read your comments.php file in the current directory of your theme.

Make sure your comments.php has the same permissions as the rest of your theme files.

Doug Neiner
A: 

I got it working now, I had to change

<?php comments_template(); ?>

into this

<?php comments_template('', true); ?> 

instead, weird but it fixed my problem

jasondavis
Strange. Glad to hear it. You can mark your own answer as correct.
Cryo