Last active
December 6, 2017 13:26
-
-
Save veirus/b4885839944334d48232609160969667 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="header__contacts col-9 col-m-12"> | |
<div class="col-8 col-m-12"> | |
<?php $_phone = get_field('site_phone', 'options'); | |
$_tel = preg_replace("/[^0-9]/", "", $_phone); ?> | |
<p><a href="tel:+<?php echo $_tel;?>" class="phone"><?php echo $_phone; ?></a></p> | |
<p><?php the_field('site_adress', 'options'); ?></p> | |
</div> | |
<div class="col-4 col-m-12 header__btns"><a class="btn js-mopen" href="#modal">Заказать консультацию</a></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment