i did a pagination in my comments. So, in each page, the comments appears in chronological order (from the newest to the older). It’s ok! But the problem is in the order of the pages: the page that contains the newest comment is the last page and only shows 4 comments (is not full). The first page of the pagination shows 7 posts (because i chose to wordpress shows only 7 comments per page), but not the newests comments.
What i need: that the first page show the newest comment and, then, the subsequent comments, until fills the 7 comments. And the second page have to shows the other 4 comments in chronological order (from the newest to the older).
(@cst0503)
12 years, 1 month ago
Hello,
i did a pagination in my comments. So, in each page, the comments appears in chronological order (from the newest to the older). It’s ok! But the problem is in the order of the pages: the page that contains the newest comment is the last page and only shows 4 comments (is not full). The first page of the pagination shows 7 posts (because i chose to wordpress shows only 7 comments per page), but not the newests comments.
What i need: that the first page show the newest comment and, then, the subsequent comments, until fills the 7 comments. And the second page have to shows the other 4 comments in chronological order (from the newest to the older).
Here is the code i´m using:
Comments.php
Thanks in advance!
Edit: see an example of what is happening -> http://redacaoflamengo.url.ph/presidente-do-fla-espera-fico-de-hernane-e-nao-sobe-proposta-por-elias/