Reply To: Help

#3070

Ernest Marcinko
Keymaster

Yes. I see you are using the ACF plugin. In this case I think you need the extended version of the function, because you are not in the main loop

so instead of:

get_field('fieldname')

use the:

get_field('fieldname', $pageposts[$k]->id)

it might work.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)