pre_get_posts order by not working
I think this would be easier if you had the performance_datetime custom field, because that could simplify your meta query. The following is just a demo fun for you to play with: As far as I understand the problem, you get three INNER JOINS on the wp_posts table, namely wp_postmeta, mt1 and mt2. But the … Read more