Home › Forums › Feature Requests › Sync custom fields with custom filter › Reply To: Sync custom fields with custom filter
I think you’re asking for too much at one time and I’m not completely sure I understand what you’re looking for and I’m afraid if I did it would take several far too long to explain how to set it up, code it and test it. This forum is mostly users helping other users.
I wanted to create a custom fields “rank” which will contain a digital value (ex: $value).
That’s the easy part.
I want to use this value to classify/sort articles by its position on a page.
Sort them by the position on the page? Do you mean sort the posts by this field?
-need to compare all the field value custom “Rank” with all sections to avoid duplicates.
Sections? What do you mean by sections?
-compare the values to sort the articles with categories and tags according to its order of rank (descending or ascending)
Not sure what you are sorting here or by what.
-If the value exists, shifted all the other value greater than n in n + 1 (ex: If value = 12 and 12 exists for an article, replace value in A 12 + 1, and any other value for n + 1)
?
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.