Home › Forums › ACF PRO › Multisite and changing how the ‘users’ field works › Reply To: Multisite and changing how the ‘users’ field works
Ok, I’m going crazy now. I am using the select field for multiple choices, the code below works great in the backend – it shows all the speakers cpt’s from site 1, and shows what i’ve selected.
Now just trying to echo out the info on the front end is driving me mad, the array is always empty. I’ve tried get_field and get_field_object, both return with nothing. I even tried putting it in a while loop, but nada
if(have_rows('scheduled_speakers')){
while(have_rows('scheduled_speakers')){
the_row();
echo 'meh';
var_dump(get_field('scheduled_speakers'));
}
}
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.