Support

Account

Home Forums General Issues Relationship Field in WP_Query Reply To: Relationship Field in WP_Query

  • I think that this

    
    <?php 
    $related_posts = get_field('reference_1');
    if( $posts ): ?>
    

    should probably be

    
    <?php 
    $related_posts = get_field('reference_1');
    if( $related_posts ): ?>