Forum

Thread tagged as: Question

Comment app pagination

Is it possible to add a pagination to comment app?

    <?php
    perch_comments('subpages');
    perch_comments_form('subpages', 'Destinations');
    ?>
Edward Johansen

Edward Johansen 0 points

  • 3 years ago
Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Hello Edward,

Yes, it is possible. Check the options array in the documentation.

perch_comments('subpages', [
'count' => 10,
'paginate' => true
]);

Thank you