Hello,
I need call acf from popup, i’m use <?php the_field(‘field_name’); ?> to call custom fields.
Can not get it to display anything.
Help please?
The popup is likely non in “The Loop” to get fields from posts outside the loop you need to specify the post id of the post you want to get the field from.
<?php the_field('field_name', $post_id); ?>
This is covered more thoroughly in the documentation http://www.advancedcustomfields.com/resources/get_field/