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
I don’t see any reason that is should not be working.
Are you sure that the if statement is correct and that your code is running?
Have you tried removing the tax query to see if that is interfering?
Does the field ‘date_de_sortie’ actually exist in the DB on the posts you are trying to sort?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.