Home › Forums › General Issues › Sorting using ACF Date field › Reply To: Sorting using ACF Date field
You will not be able to get the order that you want.
you are first ordering events by start
event_start' => 'DESC',
then by end
'event_end' => 'DESC',
the following two orderby values will have not effect because you are trying to order by the same values that have already been used to order the values.
1 and 2 are not an issue, but placing past events after upcoming events will be impossible using WP_Query.
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.