http://www.ourchangingglobe.com is a post and not a page, so why doesn't display comments?
Why is that?
Any help would be much appreciated!
Jane
http://www.ourchangingglobe.com is a post and not a page, so why doesn't display comments?
Why is that?
Any help would be much appreciated!
Jane
This worked for me :-)
By default comments display only when WP is displaying a single post with the single.php theme template. To have them appear on your main posts page you mist edit the main posts page template.
Which file is used on the main posts page is theme-dependent, and the defaults can be overriden if there is a static home page. However, in most themes it will be either home.php or if that file does not exist, most likely index.php
The code that needs to be added is
<?php
$withcomments = "1";
comments_template();
?>
Where the code goes is also theme-dependent. I suggest placing it just before the code that looks something like this
</div>
<?php endwhile ?>
If they are not displaying in the right place you may find you need to put it before the </div> preceding the one I mentioned. Note you are not adding an additional </div>, you are working with the one(s) already there.
---------
And it's now possible to reply to individual posters too.
This topic has been closed to new replies.