WP_Query: Group events by year, sorted DESC; then by date for each year group, sorted ASC
Related Posts:
- Ignoring initial articles (like ‘a’, ‘an’ or ‘the’) when sorting queries?
- WP_Query orderby date not working
- Sorting: custom query with orderby meta_value_num THEN by title
- How to get order of posts?
- Ordering by meta_value AND date NOT WORKING with wp_query
- Meta query with order by another custom field
- How do I sort posts with multiple pages
- Orderby ASC changes to DESC in WP_Query
- Complex WP_Query order request: DESC by day, but then ASC by time
- Sort wordpress custom posts based on meta value
- Understanding the orderby in WP_Query?
- Help ordering Post loop by two meta values
- WP Group posts by year(desc) > month(desc) > date(asc)
- orderby ignored by wp_query
- How to sort store location by specific category order in WP store locations
- How to sort wordpress posts already selected by WP_QUERY
- Order by value of Custom Field using url string
- WP Query with meta queries
- Order 2 meta_queries differently in WP_Query?
- Sort posts on custom field AND after that sort on date?
- Display three sequential posts on each page load, without repeating previous
- Sorting: custom query with orderby meta_value_num THEN by title
- query_posts with sorting on a custom datestamp
- Get post closest to today
- Get posts that were most recently tagged
- WP_Query sort by ACF date field (newest first) with blank dates first
- WP_Query orderby post__in remains ineffective in the Loop [closed]
- Order by optional meta key?
- Order by DESC, ASC in custom WP_Query
- WP_Query order by multiple meta keys & fields
- Secondary Sort (fallback) for WP_Query
- Query Posts in a Predefined Order
- Sort posts by category name and title
- Order posts by ID in the given order
- Get Recent Posts by Date in Multisite
- Custom WP_Query order by post_meta and (author) user_meta
- Sorting posts by custom date fields (non standard date format)
- How to get Page/Post Gallery attachment images in order they are set in backend using WP_Query()?
- WP Query orderby meta key natural sort?
- WordPress Custom Query to show posts from last x years
- How to order posts tag by tag?
- How do I order pages and categories by ID or name in the same query?
- Loop through all tags & output posts in alphabetical list
- WP_Query ordered by custom field that is a date string?
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- WP_Query sort by comment meta data
- Order posts by tags count?
- Merge 2 args in one WP_Query and order it by date
- Orderby = none not working [duplicate]
- WP_query ‘orderby=none’ Problem
- Sorting Posts by custom field
- Order posts by date and then by custom field
- How to order a post type with meta_value_num and if meta_value_num does not exist then order by date
- Revolution Slider Orderby Two Custom Fields
- Sorting meta_value as integer doesn’t work
- Order posts ascending with number in title
- List taxonomy terms plus their latest post ordered by post date
- Order by the results of a function with WP_query
- How can I hide posts that are over 2 years old
- Sort in WP_Query(), not filter? Is it possible?
- How to order posts in wp_query by a meta_value of the corresponding author
- Front End Sorting Questions
- Woocommerce custom loop to show all the products [closed]
- Sort by meta key on archive page
- Order by menu structure
- How to sort posts in admin by titles with dd.mm.yyyy format?
- WP_Query order by date in meta_value
- Query Set Order By Author
- Date query not inclusive despite parameter being true
- WordPress: Keep order of query_posts list of post ID’s using post__in
- Use meta_query to display events by date in custom field
- How to use order RAND() on WordPress?
- Show all parents and children in custom post type in right order
- WP_Query orderby breaks when using AJAX?
- Order WP Query posts by custom order calculated from post meta values
- How to make orderby ‘meta_value_num’ OPTIONAL?
- Custom Post order for homepage
- Change default ordering of taxonomy terms – pre_get_terms
- How to show recent and upcoming birthdays using meta_query
- WordPress WP_Query orderby being overwritten
- WP_Query Order by Specific Post ID First
- Order Posts by meta value AND published date
- How can I pick a single post from the latest 3?
- Wp query orderby ‘title’ doesn’t work
- Meta Query for specific months
- How can I order Wp_Query hierarchically?
- How to orderby meta_value_num with dollar ($) sign
- Sorting posts DESC based on the number of comments using WP_Query
- WP_Query meta_query >= date
- Order WP_Query by multiple fields, subtracting them from one another
- Complex Orderby Parameters: How to query with multiple orderby parameters using meta_value_num?
- Complex date range with WP_Query and BETWEEN
- pre_get_posts order by not working
- WP_Query posts by distance based on LAT & LNG in Database
- Comparing dates in custom field
- Combining sorted and random CPT
- How to display upcoming events by dat with Modern Events Calendar Lite
- Changing WP_Query params with url Query Var
- (Solved) WP_Query ($ args) -> How to sort letters and numbers within the same array
- SQL: What is wrong with the following query (generated by WordPress WP_Query, ordering prices)