
";
echo "
"; //close feed
echo "";
$count = 0;
$first_class = NULL;
while(have_rows('contact_info_repeater')) : the_row();
$count++;
if($count%3 == 1){echo "
";
}
echo ""; $first_class = 'first-child';} //if first in row, open row
$image_url = get_sub_field('contact_info_icon');
$contact_title = get_sub_field('contact_item_title');
$contact_description = get_sub_field('contact_info');
$contact_description_link = get_sub_field('contact_info_link');
$contact_class_link = get_sub_field('contact_link_class');
echo "
";} //if last in row, close row
$first_class = NULL;
endwhile;
//if the counter is not divisible by 3, we have an open row
$spacercells = 3 - ($count % 3);
if ($spacercells < 3) {
echo "";
echo "
";
if($count%3 == 0){echo " ";
echo "";
if($contact_title){echo "
";
echo "