Hello EE community.
I need help with comments pagination. Iam using ordinary code to call comments.
{exp:comment:entries sort="asc" limit="20" paginate="both"}
{comment}
By {name} on {comment_date format="%Y %m %d"}
{paginate}
{if previous_page}
<a href="http://{auto_path}">Previous Page</a>
{/if}
{if next_page}
<a href="http://{auto_path}">Next Page</a>
{/if}
{/paginate}
{/exp:comment:entries}
By using asc sorting the new comments are on the last page. Ho to get reverse pagination? I need to have latest comments on first page.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.