I’ve created a custom theme from scratch, nothing fancy, simple theme. I’m currently using WordPress 3.2.1. I put wp_list_comments() in the comments.php to list the comments, and it doesn’t work at all! No comments displayed. Tried putting it in single.php, tried also deactivating all the plugins – still nothing. I used the default function, just wp_list_comments(); with no arguments. Could anybody suggest why it might be not working?
I’ve created a custom theme from scratch, nothing fancy, simple theme. I’m currently using
Share
Did you try
<?php comments_template(); ?>in single.php? You seem to imply in your comment above that you were doing something like<?php include('comments.php')?>This won’t work, because the comments haven’t been queried from the database–comments_template()does that, then includescomments.phpin your theme root.Does that help?