Home › Forums › General Issues › need to select first item in meta_value array to sortby › Reply To: need to select first item in meta_value array to sortby
Hi @crushdg
Please wrap all code in the ‘code’ button to allow for easy reading.
As for the code you have posted. I don’t understand what $meta_value is. Is this a variable which you have defined above?
Perhaps you could explain the data you have and what you are trying to do in a clear way without any code, and I can help direct you to a solution.
Thanks
E
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.