Skip to content

Instantly share code, notes, and snippets.

@congthien
Last active July 6, 2017 06:59
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 congthien/b2a159d8c55d4e17cc71b2c2e9305573 to your computer and use it in GitHub Desktop.
Save congthien/b2a159d8c55d4e17cc71b2c2e9305573 to your computer and use it in GitHub Desktop.
add html before header navigation
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> &nbsp; Contacto +56 2 28800522 -
info@lifeservices.cl &nbsp; <i class="fa fa-facebook-square"></i> &nbsp; <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