Support » Fixing WordPress » Comment Pagination

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

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

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comment Pagination’ is closed to new replies.