I would like to reverse the pagination order for the category archives and am wondering if anyone can offer any help.
Basically what I am looking for is pagination to start with the oldest post first, but browsing to start with the newest post, in effect reverse pagination and then browsing starting with the highest numbered page first.
I have tried reversing the sort order but does not work for 2 reasons
- Displays page 1 first.
- The posts in the pages are in reverse order as well, oldest first.
I tried the code offered here: Help With A Reverse Pagination Plugin
I don't know if I was missing something but it appeared to just give the same results as reversing sort order.
I also tried messing with modifying the get_next_posts_link() function, but came to the realization that would just effect browsing, not the actual pagination.
A similar question is outlined here: How to implement pagination in backward way eg. first - 20 - 19 - 18 - ... - 3 - 2 - 1 - last
This thread in a Drupal forum seems to illustrate additional reasons why this would be useful: http://drupal.org/node/143719
Another reason why I thought this would be useful would be because it would allow the user to see how much content is available without having to find the end, like having a reverse counter on a video so you know how long it is before beginning to watch.
Does the solution to the problem require messing with rewrite rules? Any input would be appreciated.
PAGE 2 (Post 5, Post 4) -> PAGE 1 (Post 3, Post 2, Post 1)If you simply reverse sort order you get:PAGE 1 (Post 1, Post 2, Post 3) -> PAGE 2 (Post 4, Post 5)– user27068 Feb 7 at 0:27PAGE 2 (Post 4, Post 5) -> PAGE 1 (Post 1, Post 2, Post 3)– user27068 Feb 7 at 0:31