Closed fabianwurk closed 4 years ago
Issue has now been resolved.
@fabianwurk how did you resolve this? I think I might be having the same issue. Atleast it looks like the the_field() or get_the_field() isn't getting the correct item ID.
@mMoovs sorry I can't remember where this repo was to check. But we have since changed to use this package for blocks in Sage 10: https://github.com/Log1x/acf-composer
I have a block with cpt query which works fine, it just isn't displaying the custom field - the image and the_content display fine. Is there something else that needs to be added to get acf text field displaying (testimonial_by')?
` $the_query = new WP_Query(array( 'post_type' => 'testimonial', 'posts_per_page' => -1, 'order' => 'DESC' ));