Created
February 18, 2015 06:16
-
-
Save jamiemarsland/b0a4511aaaef67876ee6 to your computer and use it in GitHub Desktop.
Rename Navigation in mobile menu for Storefront
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 storefront_primary_navigation() { | |
?> | |
<nav id="site-navigation" class="main-navigation" role="navigation"> | |
<button class="menu-toggle"><?php _e( 'Primary Menu', 'storefront' ); ?></button> | |
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> | |
</nav><!-- #site-navigation --> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment