Complex WP_Query order request: DESC by day, but then ASC by time
You’re not using query_vars quite right – this filter is for whitelisting “public” query vars, not actually setting their values. It’s also called rather early (wp::parse_request), so any conditional tags like is_tax() will always be false at this stage. Use the pre_get_posts action for overriding the default query. Having said that, you need a custom … Read more