Home › Forums › General Issues › Updating custom field values › Reply To: Updating custom field values
Hi John,
Thank you for a reply. I will try to explain what I’m trying to accomplish.. Well I want to sort post by custom acf field. So ordering should be by number value from acf field (1,2,3,4,5 etc) and this is something that is easy. Now is the tricky part. If I want to publish new post and enter value in acf field for exmpale “3”, is there any way to change values for posts that have values 3 and 4 by +1 so post that had value 3 now has 4, and post that had value 4 now has value 5?
Thanks.
Damir
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.