Rename "Primary menu" in mobile view
-
Hi,
I’ve put the below recommended code from this woothemes doc in my child theme’s functions.php and it isn’t changing the text from “Primary Menu”.
add_filter( 'storefront_menu_toggle_text', 'jk_storefront_menu_toggle_text', 10 ); function jk_storefront_menu_toggle_text( $text ) { $text = __( 'Navigation' ); return $text; }
My functions.php isn’t erroring and my version of the storefront theme is up to date so it does include the ‘storefront_menu_toggle_text’ filter. I feel like I’m missing something obvious but it just isn’t working. Any ideas?
Thanks
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Rename "Primary menu" in mobile view’ is closed to new replies.