Assume I have a bunch of posts (articles) in two categories: "upcoming events" (cat=1) and "past events" (cat=2). When listing all posts of a specific category out of those two, category 1 shoud be listed in ascending order (first posts first, i.e. earlier upcoming events first), while category 2 should be listed descendingly (earlier previous posts for past events should appear further down the list).
With menu entries for navigation, I can use URL parameters like
However, since I have to add the second parameter "manually" it'll disappear when people just click on the category label that's shown for each post.
Hence, I need to pick a sort order when creating or modifying a category, so that this sort order be used when showing all posts of that category. Is there a way to do this?
Several related questions don't help me out - since their either asking for defining completely custom sort orders, for sorting categories (not posts), or because they're not yet solved or involve some twinkering the the code which I'd like to avoid in order for plugin and wordpress updates to work well. Setting Custom Sort Order of Posts within a Category Different post sort order within different categories Ascending sort order for monthly & category view, i.e. ?m=201204, ?cat=4