How do I change the sort of wp_get_archives?
-
I’d like to sort the output of wp_get_archives() to DESC to display the older posts first followed by the newer ones. In other words, in chronological order.
I look at the function and there’s different sorts for different types. Why isn’t sort an argument to the function?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How do I change the sort of wp_get_archives?’ is closed to new replies.