?> <br /> </div> <div class="panel widget widget_pt_social_icons panel-last-child"> <?php $social_links = array('facebook' => get_field('facebook', 'option'), 'twitter' => get_field('twitter', 'option'), 'youtube' => get_field('youtube', 'option')); $social_links = array_filter($social_links); foreach ($social_links as $social_key => $social_link) { ?> <a class="social-icons__link" href="<?php echo $social_link; ?> " target="_blank"><i class="fa fa-<?php echo $social_key; ?> "></i></a> <?php } ?> </div> </div> <div class="col-md-9"> <?php if (pc_has_option_field('email_address')) { do_shortcode(get_field('contact_form7_shortcode', 'option')); } ?> </div> </div> </div><!-- /container -->
<?php the_field('city', 'option'); ?> , <?php the_field('postcode', 'option'); ?> </span> </div> </div> </div> <?php } ?> <?php if (pc_has_option_field('opening_time') or pc_has_option_field('close_time')) { ?> <div class="widget widget-icon-box"> <div class="icon-box"> <i class="fa fa-clock-o fa-3x"></i> <div class="icon-box__text"> <h4 class="icon-box__title"> <?php the_field('opening_time', 'option'); ?> </h4> <span class="icon-box__subtitle"> <?php the_field('close_time', 'option'); ?> </span>