Home › Forums › ACF PRO › Use Post Object Field For Ordering › Reply To: Use Post Object Field For Ordering
You cannot sort of the title of the post object. The only thing that ACF stores about the post object field is the ID. The same principle applies for something like this as I posted about repeater sub fields here https://acfextras.com/dont-query-repeaters/
basically what you need to do is to create an acf/save_post filter, get the post object field and save the title of that post object as custom meta value associated with the post you want to be able 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.