<?php
if (have_rows(‘happy_clients’)){
$i=0;
while (have_rows(‘happy_clients’)){ the_row();
$image = get_sub_field(‘happy_clients_image’);
//if($i==4){ break; }
//echo $i;
?>
<div class=”col-sm-6 col-xs-6″>
<div class=”partner-item mb-30″>
” alt=”Partner Image”>
</div>
</div>
<?php $i++; if($i>3){ break; } }; }; ?>