WordPress.org

Ready to get started?Download WordPress

Forums

Comments not showing (12 posts)

  1. Domfri
    Member
    Posted 9 months ago #

    Hi,
    for some reason, comments on my site dont show up, even though wordpress registers that they are there. The number of comments updates, and I can read the comments from the wordpress dashboard, but it still shows no comments on the actual page.
    Does anyone know how to fix this? I have spent tons of time browsing the forum trying to find a solution, with no luck so far...

  2. Tara
    Member
    Posted 9 months ago #

    Do they show up if you temporarily switch to the WP default Twenty Twelve theme?

  3. Domfri
    Member
    Posted 9 months ago #

    That is one of the few things I havent tried yet. I am using a custom theme, and am a little worried that i will have to reconfigure the whole site if i do this. Are you sure this won't mess everything up? Sorry if this is a dumb question, I'm still a little new to wordpress.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

    Are you sure this won't mess everything up?

    All changes should only be temporary.

  5. Domfri
    Member
    Posted 9 months ago #

    They do show up when I do that. Should i just try taking comments.php from that theme and putting it in mine?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

    No - you cannot do that. Where did you download your old theme from?

  7. Domfri
    Member
    Posted 9 months ago #

    It's a custom built theme, though I wasn't the one who built it.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

    Then you will either need to go back to the person who developed the theme or you will need to start work on some theme development yourself. I'd suggest starting with Theme Development.

  9. Domfri
    Member
    Posted 9 months ago #

    Yeah, so the original theme didn't have comments, I've been trying to add them and run into this problem. I just took comments.php from the WordPress classical theme and put it in my theme. It works, except for the comments not actually showing...

  10. Tara
    Member
    Posted 9 months ago #

    Does your custom theme have single.php?
    Do you have this line in single.php?
    <?php comments_template(); ?>
    If you don't, try adding it after The Loop.

  11. Domfri
    Member
    Posted 9 months ago #

    It shows the comment interface and all, I'm using <?php get_template_part('comments'); ?> though. It says "1 Comment" as the title, and right underneath it says "No Comments", then it has the submit a comment interface. Its having trouble printing the comments or something.

  12. Tara
    Member
    Posted 9 months ago #

    I suggest you follow esmi's suggestion.

Reply

You must log in to post.

About this Topic