Order by 3 values?
I have “the_title” which is the original post title and then I have about 9 custom fields using Advanced Custom Fields where of 2 I want to use for order/sorting and they are called “sorting”(text) and the other “year”(date).
What I wan’t to do is do is first sort by [sorting] alphabetically, then by [year] and last by [the_title] alphabetically.
I use a category for all my posts with ID=1
How can this be done?
WP_Query something something??
- The topic ‘Order by 3 values?’ is closed to new replies.