Last active
July 6, 2017 06:59
-
-
Save congthien/b2a159d8c55d4e17cc71b2c2e9305573 to your computer and use it in GitHub Desktop.
add html before header navigation
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
function add_html_before_header(){ | |
?> | |
//place your html code here | |
<div class="site-topbar"> | |
<div class="container"> | |
<div class="topbar-content text-right"> | |
<i class="fa fa-phone"></i> Contacto +56 2 28800522 - | |
info@lifeservices.cl <i class="fa fa-facebook-square"></i> <i class="fa fa-linkedin-square"></i> | |
</div> | |
</div> | |
</div> | |
<?php | |
} | |
add_action( 'onepress_before_site_start' , 'add_html_before_header' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment