Created
April 25, 2017 15:08
-
-
Save congthien/d9a9d8274485ce6da44161edae359715 to your computer and use it in GitHub Desktop.
change menu close button
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 onepress_site_header(){ | |
?> | |
<header id="masthead" class="site-header" role="banner"> | |
<div class="container"> | |
<div class="site-branding"> | |
<?php | |
onepress_site_logo(); | |
?> | |
</div> | |
<!-- .site-branding --> | |
<div class="header-right-wrapper"> | |
<a href="#0" id="nav-toggle"><?php _e('Menu', 'onepress'); ?><span></span></a> | |
<nav id="site-navigation" class="main-navigation" role="navigation"> | |
<ul class="onepress-menu"> | |
<?php wp_nav_menu(array('theme_location' => 'primary', 'container' => '', 'items_wrap' => '%3$s')); ?> | |
</ul> | |
</nav> | |
<!-- #site-navigation --> | |
</div> | |
</div> | |
</header><!-- #masthead --> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment