<?php
while ( have_rows('fixed_articles') ) : the_row(); ?>
<?php if( get_row_layout() == 'article' ): ?>
<?php if( get_sub_field("article_select") ): ?>
wefa
<?php else :?>
wefwef
<?php endif; ?>
<?php endif; ?>
<?php endwhile; ?>
<?php
$term = get_queried_object();
while ( have_rows('fixed_articles', $term) ) : the_row(); ?>
<?php if( get_row_layout() == 'article', $term ): ?>
<?php if( get_sub_field("article_select") ): ?>
wefa
<?php else :?>
wefwef
<?php endif; ?>
<?php endif; ?>
<?php endwhile; ?>