Oups sorry very good point. So I switch to GET with my form 🙂
Thanks man, you are very friendly. All the best for you!
What do you mean with “GET var” 🙂
No my mistake!! Sorry 😀
I forget to remove both meta_value 😀
But why does it work now? I just added a lot of debug code?
Thanks you are my hero!!
//Ah the plugin…
There is no output or have I add it to the wrong place? :S
I removed meta_value and now the posts are moving, but not in the right order.
Yes I had a plugin called “Post Types Order”. Now I deactivated it and wp_posts.menu_order disappeared. But order is still not working.
Thanks!
Then I get an empty array.
//Ok now there is an output
What does that mean? Can I do something so that it works?
I add your code, but the price already stands there. But maybe it will help you 🙂
I noticed that at “Platz 5” the array has two entries, is that maybe a problem?
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!!
Hey VoiD2008,
thanks for your answer! I tried this, but it makes no difference.
This is the link to my site. There I display the array $args, maybe this will help you.
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.