WordPress.org

Support

Support » Themes and Templates » Comment forms not showing.

Comment forms not showing.

  • I have a fresh install of 1.5 and I’m trying to create myself a theme to use in a photoblog. I’ve started from scratch, trying to just copy my old, non wordpress, templates over. I have everything going and looking right, but the comments just aren’t working for me. I have inside my while() loop, the following code:

    <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’, ”, ‘Comments are off for this post’); ?>

    Clicking on the link that creates gives me the archived link, but there’s no comments forms to file out. I’ve tested with “Default” and “Classic” themes, and both work fine. I’ve compared my code to each of those and they appear quite similar, other than layout.

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I just left a comment in your photoblog (cat pic).

    Ahh, so it was you. That’s my old photoblogger(.de) driven site, not my WordPress 1.5 site. I haven’t gone live because I don’t have all the kinks worked out yet. Sadly, my new site is currently on my notebook sitting behind a few corporate firewalls, so I can’t send you a link.

    Oops… I didn’t notice.
    Anyway, I’d drop e.g. the “classic” comments-popup.php in my theme and if it works – try to fit it in your layout.

    I’ve done that actually (should have mentioned). I copied the comments.php and comments-popup.php from both the default and classic themes into my photoblog theme, but neither did anything for me. I don’t see any form, nor any comments that have been posted. I commented on a post with the default theme applied and it worked. My photoblog theme shows that there’s one comment, but it doesn’t display when I click the link. The text about comments disappears, but there’s nothing else changed.

    Ha, got it. comments_template(); was missing.

    Where does comments_template() belong?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Comment forms not showing.’ is closed to new replies.
Skip to toolbar