Skip to content

Instantly share code, notes, and snippets.

@veirus
Last active December 6, 2017 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veirus/b4885839944334d48232609160969667 to your computer and use it in GitHub Desktop.
Save veirus/b4885839944334d48232609160969667 to your computer and use it in GitHub Desktop.
<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