WordPress.org

Support

Support » How-To and Troubleshooting » How do I get comments on the homepage?

How do I get comments on the homepage?

  • I’m trying to show to comments on the homepage and not only on permalink pages.

    <?php comments_template(); // Get wp-comments.php template ?> only seems to work on a permalink page and not on the homepage of the blog.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you put the comments_template function inside the while loop?

    Do you mean like a drop-down show-hide comments feature? Go see http://www.scriptygoddess.com.

    Yes, it is inside the loop.

    The blog shows only the last post and it does show how much comments have been made (using comments_popup_link). But I want it to show all the comments and the ‘leave a comment’ textarea.

    I thought comments_template() was supposed to do that, but it only works on a permalink page.

    Am I forgetting something?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I get comments on the homepage?’ is closed to new replies.