Categories
WordPress

WordPress Storefront Theme

And the Canvas.

To edit the mobile menu button text:

add_filter( 'storefront_menu_toggle_text', 'condless_storefront_menu_toggle_text' );
function condless_storefront_menu_toggle_text( $text ) {
	$text = __( 'My menu' );
	return $text;
}

As you probably have noticed- this theme is not the first default theme for the WooCommerce, the Canvas theme preceded it, it included an editor and was replaced when Gutenberg, the new WordPress default editor, was announced.

Leave a Reply

Your email address will not be published. Required fields are marked *