Created
January 15, 2016 17:59
-
-
Save trishasalas/b4ae512db5c9765e2616 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
<?php if ( $phone || $email ) : ?> | |
<div class="top-info"> | |
<div class="contact" itemscope itemtype="http://schema.org/Organization"> | |
<a href="tel:<?php echo $phone; ?>" itemprop="telephone" class="telephone"><?php echo $phone; ?></a> | |
<a href="mailto:<?php echo antispambot( $email ); ?>" itemprop="email" class="email"><?php echo antispambot( $email ); ?></a> | |
</div><!-- contact --> | |
</div><!-- top-info --> | |
<?php endif;?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment