Walsh Branding

PrintIcon Print

Agency-Awards

"; echo "

Clients

"; echo ""; echo ""; $count = 0; while(have_rows('clients_repeater')) : the_row(); $count++; if($count%3 == 1){ echo ""; } //if first in row, open $image_url = get_sub_field('client_logo'); $client_url = get_sub_field('client_url'); echo ""; if($count%3 == 0){ echo "";} //if last in row, close endwhile; //if the counter is not divisible by 3, we have an open row $spacercells = 3 - ($count % 3); if ($spacercells < 3) { for ($j = 1; $j <= $spacercells; $j++) { echo ""; } echo ""; } echo ""; echo "
"; echo ""; echo "
"; echo "
"; } ?>