Home › Forums › General Issues › Post Object Relational order per ACF Date › Reply To: Post Object Relational order per ACF Date
You need to get the posts from the post object field without formatting them. This is done by using get_field('post_object', false, false)
see get_field() doc.
The you have to do your own wp_query to get the posts by setting “post__in” to the array returned and order them by the meta_value.
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.