Walsh Branding

PrintIcon Print

Walsh-Office-Front

"; echo "
"; $count = 0; $first_class = NULL; while(have_rows('contact_info_repeater')) : the_row(); $count++; if($count%3 == 1){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 "
"; echo "
"; echo ""; echo "
"; echo "
"; if($contact_title){echo "

".$contact_title."

";} echo "
"; if($contact_description){ if ($contact_class_link) {echo "";} else if ($contact_description_link){echo "";} echo "

".$contact_description."

"; if($contact_description_link){echo "
";} } echo "
"; echo "
"; if($count%3 == 0){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 "
"; //close feed echo "
"; //close capabilities } ?>