Looking for a simple way to reorder posts so that it starts with the latest posts but in ascending order.
Granted, I know next to nothing about PHP, but I want to change the post order from THIS:
+-----+-----+-----+-----+
|Oct18|Oct13|Oct 8|Oct 3|
|Oct17|Oct12|Oct 7|Oct 2|
|Oct16|Oct11|Oct 6|Oct 1|
|Oct15|Oct10|Oct 5| |
|Oct14|Oct 9|Oct 4| |
|(p 1)|(p 2)|(p 3)|(p 4)|
+-----+-----+-----+-----+
to THIS:
+-----+-----+-----+-----+
|Oct14|Oct 9|Oct 4|Oct 1|
|Oct15|Oct10|Oct 5|Oct 2|
|Oct16|Oct11|Oct 6|Oct 3|
|Oct17|Oct12|Oct 7| |
|Oct18|Oct13|Oct 8| |
|(p 1)|(p 2)|(p 3)|(p 4)|
+-----+-----+-----+-----+
And no, I don't mean THIS:
+-----+-----+-----+-----+
|Oct 1|Oct 6|Oct11|Oct16|
|Oct 2|Oct 7|Oct12|Oct17|
|Oct 3|Oct 8|Oct13|Oct18|
|Oct 4|Oct 9|Oct14| |
|Oct 5|Oct10|Oct15| |
|(p 1)|(p 2)|(p 3)|(p 4)|
+-----+-----+-----+-----+
Why can't I find any plain information on how to order posts this way? Is this something that no one has ever thought of before? Is this some kind of proprietary secret stuff that Coca-Cola keeps locked in a vault? Is this something that is an order of magnitude harder than the Grand Unification Theory? So far the only answer anyone will mutter is a uselessly impotent "Google pre_get_posts" which is just another crappy way of saying RTFM or "draw the rest of [bleep]ing the owl".
So does anyone know how to do this in a way that doesn't require going clear in the Mullenweg PHP church of babble?
Posted Oct 14, 2018, 11:41 AM UTC