Support

Account

Home Forums ACF PRO Sort post by acf date first and after by title Reply To: Sort post by acf date first and after by title

  • 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 ;-).
    Best.
    Pierre