The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. cartel82
    Posted 11 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
    Posted 11 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
    Posted 11 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


No tags yet.