Hey, there. I just got this site up and going. http://www.paledogstudios.com It works fine except for the fact I can’t seem to see past comments (this blog was imported from blogger) or add comments.
I know it’s the code not the settings since someone else told me but he didn’t help me further.
He said it was probably on the index.php
Help?
It appears that your posts titles do not link to the single post pages, they link to the archive page. By example, the lastest article “It really is that small” links to “http://www.paledogstudios.com/2010/10/04/”.
The error should be in your theme index.php file.
From the looks of things, you’re missing a call to
comments_template()
in your files. I wouldn’t recommend putting this inindex.php
(that’s the file that generates your entire list of blogs … listing comments there would make your page huge).What you want to do is add
<?php comments_template(); ?>
in yoursingle.php
file (the template file for Single Posts) before<?php endwhile; ?>
.So an example from the TwentyTen theme:
You can see they’re placing the comment block after contextual navigation but before the loop closes. This is what you’ll want to do in your own theme as well.
Please note that enabling comments or Disqus at a time, will not affect old posts. You should add new posts afterward to allow commenting or go to Setting -> Posts -> Quick Edit, to allow comments on a particular post or take a bulk edit action to allow comments on all older posts.
Is commenting for the affected pages closed within WordPress itself? To determine this:
If comments are enabled within WordPress, a thread can be opened by clicking the âOpen threadâ link in the threadâs Settings dropdown in the Disqus embed on your site. For reference, hereâs a screenshot: