Home › Forums › Front-end Issues › Options page repeater field on a taxonomy template › Reply To: Options page repeater field on a taxonomy template
Thanks for the reply, I updated the syntax, still works on homepage.php but not category.php
Weirdly when I dump the video_slider field on the category page I get this:
string(1) "2"
the “2” bit seems to be a count of the array, when there are three rows the dump updates to:
string(1) "3"
When I run the same dump code on homepage.php it returns the data correctly.
I seem to be able to get other standard text option fields on category.php, maybe it’s a combination of it being an option and a repeater field?
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.