Support

Account

Home Forums ACF PRO How to get the number of posts from Relationship field? Reply To: How to get the number of posts from Relationship field?

  • Hi @danbo

    You can simply do a count on the relationship field.

    
    <?php echo $movie_count = count(get_field('movies_of_this_producer')); ?>