WordPress.org

Ready to get started?Download WordPress

Forums

Comment forms not showing. (7 posts)

  1. taveren
    Member
    Posted 9 years ago #

    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?

  2. moshu
    Member
    Posted 9 years ago #

    I just left a comment in your photoblog (cat pic).

  3. taveren
    Member
    Posted 9 years ago #

    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.

  4. moshu
    Member
    Posted 9 years ago #

    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.

  5. taveren
    Member
    Posted 9 years ago #

    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.

  6. taveren
    Member
    Posted 9 years ago #

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

  7. lokrin
    Member
    Posted 9 years ago #

    Where does comments_template() belong?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.