Home › Forums › ACF PRO › Getting number of times selected from relationship field › Reply To: Getting number of times selected from relationship field
If it was any other column I would have had no problem,
The thing is this column is using a total count of information that is no present on the locations posts.
This is why I can’t use a custom field from the post and use meta_value_num to order it by.
The only idea I have is making a custom field that the function will insert the information to and then to sort by it but I’m having troubles in implementing such a thing.
WordPress tutorials I’ve checked weren’t very helpful because none of them refer to my situation using information from a custom field which is not on the post itself but with relationship fields from other posts.
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.