Home › Forums › Front-end Issues › How to get the data outside the loop? › Reply To: How to get the data outside the loop?
Hi John,
I am not a advanced php guy but i need to duplicate the loop again (first option) to make it work you say? I get the value now, thats good :-). But i was thinking maybe it was easier with way less PHP code.
Other question: i get the values now… But how can i check if their is a duplicate value in that loop and that all the duplicated will be removed/not showing.
What i now get:
Cat, Cat, Dog, Rat, Mouse, Rat, Cat, Dog, Mouse
But what i want to see:
Cat, Dog, Rat, Mouse
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.