Home › Forums › General Issues › How can I use Advanced Custom Fields with timber to retrieve Array values? › Reply To: How can I use Advanced Custom Fields with timber to retrieve Array values?
Sorry, I’m probably not going to be of much help to you. But you will find that integration of ACF into page builders and template engines is scarce and getting help here will be hard unless someone that has experience with both happens along.
However, I can give it a stab, you say that you are using Timber. The file name ends in .twig, so I am assuming that timber uses twig templates. If this is the case then there is an example of looping over an array there.
Again, this is only a guess using the example taken from that document.
{% for item in author %}
<li><a href="{{ item.user_url }}">{{ item.display_name }}</a></li>
{% endfor %}
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.