My code is a series of if statements in a while loop. I’m not using any elseif
<?php if( have_rows('universal') ): ?>
<?php while( have_rows('universal') ): the_row(); ?>
<?php if( get_row_layout() == 'text' ): ?>
//output
<?php endif; ?>
<?php if( get_row_layout() == 'cards' ): ?>
//output
<?php endif; ?>
+ 6 more of these each querying a different layout
<?php endwhile; ?>
<?php endif; ?>