Support

Account

Home Forums General Issues Include customized excerpt filter with ACF Post Object field Reply To: Include customized excerpt filter with ACF Post Object field

  • @hube2 Thanks for the response. I loop through an ACF Repeater that has a single Clone field of a Post Object:

    <?php while ( have_rows( 'my_posts_repeater' ) ) : the_row(); ?>
        <?php echo get_sub_field( 'my_clone_field_post_object' )->ID; ?>
        <?php echo get_the_excerpt( get_sub_field( 'my_clone_field_post_object' )->ID ); ?>
    <?php endwhile; ?>

    The ID displays correctly in the example above but the excerpt is empty. Is it possible that the problem is related to using a Clone field as the Post Object?