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?
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.