WordPress.org

Ready to get started?Download WordPress

Forums

Comment Pagination (3 posts)

  1. Ashpl0x
    Member
    Posted 1 year ago #

    Well currently I used the code

    <?php
    $withcomments = 1; // force comments form and comments to show on front page
    comments_template();
    ?>

    to show the comments on the front page, now I want to know how I would make it so it only displays the first 5 comments or so.

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    that is one of the reasons not to force the comments on index or archive posts pages -> comment pagination will not work.

  3. Ashpl0x
    Member
    Posted 1 year ago #

    What else can I do to make the comments show on the frontpage? using buddypress btw.

Topic Closed

This topic has been closed to new replies.

About this Topic