Me neither… I don’t understand.
Yes my code is running.
I tried running it with :
//$query->set( 'tax_query', $taxquery );
It doesn’t interfer.
The field ‘date_de_sortie’ is my ACF date picker field.
If I set ‘date_clause’ => ‘DESC’, it effectively sorts posts in the opposite direction which is logical, but always posts without any ‘date_de_sortie’ are in first.
Hope I’m clear in my explanations ;-).
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users