Perhaps you could go back and have a look at your original comment.
You did not take the time to state any details, data or show that you had attempted to find a solution via the documentation. This is why you did not receive the helpful response you were hoping for.
You simply said “I have the same problem, can you write the code for me”.
Just to clarify, you don’t have the same problem. The original topic asked why their code did not work. To this, I clearly described what needed to be fixed.
Perhaps next time, you can take the time to provide such details and I can help you out.
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!
© 2022 Advanced Custom Fields.