WordPress.org

Ready to get started?Download WordPress

Forums

How do I get comments on the homepage? (4 posts)

  1. cartel82
    Member
    Posted 9 years ago #

    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.

  2. eridan
    Member
    Posted 9 years ago #

    Have you put the comments_template function inside the while loop?

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

  4. cartel82
    Member
    Posted 9 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.