Categories
Code Snippets

Change the ‘Menu’ button text

On handheld devices the navigation toggle button says ‘Menu.’ To change this you can use a custom translation or use the storefront_menu_toggle_text filter:


add_filter( 'storefront_menu_toggle_text', 'jk_storefront_menu_toggle_text' );
function jk_storefront_menu_toggle_text( $text ) {
$text = __( 'Navigation' );
return $text;
}

view raw

functions.php

hosted with ❤ by GitHub