?> <?php /* Contact Info */ // set contact info variables $phone = get_theme_mod('phone_number'); $email = get_theme_mod('email_address'); if ($phone || $email) { ?> <ul class="footer-contact footer-top--contact txt--600 mb1 p0"> <?php /* Phone */ if ($phone) { ?> <li><span class="txt--upper">Call Us</span> <a href="<?php echo _s_get_phone_link($phone); ?> "><?php echo $phone; ?> </a></li> <?php } /* Email */ if ($email) { ?> <li><span class="txt--upper">Email Us</span> <a href="mailto:<?php echo $email; ?> "><?php echo $email;
?> <div class="page-footer contact-footer contact-page--footer"> <?php echo wpautop(get_field('page_footer')); ?> <?php /* Phone */ if (get_theme_mod('phone_number')) { $p_num = get_theme_mod('phone_number'); ?> <div class="contact-footer--block contact-footer--phone mb2"> <label>Call Us</label> <a class="contact-footer--link h3 mt0" href="<?php echo _s_get_phone_link($p_num); ?> "><?php echo $p_num; ?> </a> </div> <?php } /* Email */ if (get_theme_mod('email_address')) { $e_add = get_theme_mod('email_address'); ?> <div class="contact-footer--block contact-footer--email"> <label>Email Us</label>