Support » Fixing WordPress » Homepage recognizes number of comments but won’t display them

  • Hi,

    I’ve created a new comments.php filed called commentsHome.php. The idea to pull comments into my homepage, but give them a style separate from the styles on single.php

    <div>
        <?php include( TEMPLATEPATH . '/commentsHome.php' ); ?>
    </div>
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    I’ve had success creating and referencing commentsHome.php, but the comments won’t appear on the home page. I’ve left two comments. It says

    “2 Comments »” and directly beneath,
    “No comments yet.”

    Both comments appear when I click through the post to the single.php page.

    Any ideas on why it recognizes that I’ve posted two comments, but doesn’t recognize or show either of them on the homepage?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Homepage recognizes number of comments but won’t display them’ is closed to new replies.