Home › Forums › General Issues › Sort by customfield (price) › Reply To: Sort by customfield (price)
Sorry I forget to tell you: You have to use the dropdown menu on the bottom right “Sortieren nach:” and then select one of the options “preis aufsteigend” or “preis absteigend”. Then $args changes but not the post list.
Yes I am sure. I looked in the database and the meta_value is for example “27.89”, so it is divided by a . Also the advanced custom field is set to numeric.
Thanks for your time!!
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.