Skip to content

Instantly share code, notes, and snippets.

@congthien
Last active Jul 6, 2017
Embed
What would you like to do?
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