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 DESC, ASC in custom WP_Query
- Secondary Sort (fallback) for WP_Query
- Query Posts in a Predefined Order
- How do I order pages and categories by ID or name in the same query?
- WP_Query ordered by custom field that is a date string?
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- How to order a post type with meta_value_num and if meta_value_num does not exist then order by date
- Order posts ascending with number in title
- List taxonomy terms plus their latest post ordered by post date
- How can I hide posts that are over 2 years old
- Sort by meta key on archive page
- WP_Query order by date in meta_value
- Query Set Order By Author
- WordPress: Keep order of query_posts list of post ID’s using post__in
- How to use order RAND() on WordPress?
- WordPress WP_Query orderby being overwritten
- Order Posts by meta value AND published date
- How can I pick a single post from the latest 3?
- How to orderby meta_value_num with dollar ($) sign
- Order WP_Query by multiple fields, subtracting them from one another
- Complex date range with WP_Query and BETWEEN
- pre_get_posts order by not working
- Comparing dates in custom field
- How to display upcoming events by dat with Modern Events Calendar Lite
- SQL: What is wrong with the following query (generated by WordPress WP_Query, ordering prices)
- Order By table field comment_status in WordPress > 4.0
- WP_Query order result by date AND meta_value
- Wp_query: sort by PHP variable
- Order by title without taking into account ‘the’
- WP_Query orderby author__in
- WP_query sorting can’t sort danish letters (æ, ø, å)
- Order ascending is ignored in meta query?
- How to filter a query by multiple meta keys and order by other meta keys
- Multiple Orderby’s using random order WP_Query
- Sort WordPress Posts Meta value by Week not Day
- Debugging wp_query orderby for taxonomy
- WP Query – order posts by meta field first and then order the rest
- Advanced WP_Query with meta_query, orderby?
- How to order WP_Query to group results?
- How to Order a list of taxonomies? orderby?
- Order is breaking wp_query
- Sorting search results with custom dropdown
- How to use a dropdown to filter posts by custom field
- How do I sort this custom list of sticky posts
- WP_Query with multiple orderby NOT working with ASC and DESC, what’s wrong?
- Filtering by multiple conditions in the loop
- Limit loop to future events
- Orderby two meta fields not working
- Added Date Filter To Popular Posts Query
- how to retrieve WP_Query without ordering by date [duplicate]
- What’s wrong with this meta query? (order by meta key, then title, doesn’t work)
- Custom order of posts in wp_query and different taxonomies
- WordPress Query custom ordering by temporary variable
- Comparing Meta Field date in WPQuery using Meta_Query?
- How to get only present and past posts with post_date
- Order by meta date with a thousanth of a second defaults to post order
- How to get_comments() ordered by date and parent?
- WP Query. Ordering posts by another post types meta
- Best way to query posts and order by relevancy to query
- wp_query sorting – one specific meta_key value at last and then sort by create date
- query_posts based on a meta_key
- Order posts by more than one variable (meta_key and publish date AND time)
- Create custom order sortby based on array of id
- Wrap group of wp query posts to parent div by date/year
- Sort by meta key within same day
- Order Custom Field by Price
- How to sort a WP_Query array by post_name after an array_merge();
- Show sticky post before other WP_Query
- Order by multiple meta keys on wordpress
- WP_Query with several meta_query-statements and order by meta_value
- Order Wp Query by earliest of 3 dates meta query
- Why does wp_query only display the most recent post when using order ASC?
- new WP_Query with order args – no more distinction between categories