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?
Simply go to the Settings » Discussion page. From here, you'll find the option 'Comments should be displayed with the older comments at the top of each page' under the 'Other comment settings' section.
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 includes comments.php
in your theme root.
Does that help?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With