• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Add "MENU" wording to mobile navigation

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Add "MENU" wording to mobile navigation

This topic is: resolved

Tagged: accessibility, Mobile Navigation, responsive navigation

  • This topic has 11 replies, 2 voices, and was last updated 6 years, 5 months ago by nthdegreemd.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • December 28, 2018 at 3:36 pm #225283
    nthdegreemd
    Member

    I am dealing with a lot of older, non-tech savvy people... and I am wondering if there's an easy way to add the word "MENU" above the menu icon on responsive view.

    I'm using the Interior theme.

    Thanks in advance for any guidance you can provide.

    http://thatgrabbarguy.com/staging/
    December 28, 2018 at 10:11 pm #225298
    Victor Font
    Moderator

    1. Comment out this line in functions.php:

    wp_localize_script( 'interior-responsive-menu', 'InteriorL10n', $output );

    2. Add this immediately after the commented out line:

    wp_localize_script(
    		'interior-responsive-menu',
    		'genesis_responsive_menu',
    		interior_responsive_menu_settings()
    	);

    3. Add this after the closing bracket for the function interior_enqueue_scripts_styles():

    function interior_responsive_menu_settings() {
    
    	$settings = array(
    		'mainMenu'         => __( 'Menu', 'interior' ),
    		'menuIconClass'    => 'dashicons-before dashicons-menu',
    		'subMenu'          => __( 'Submenu', 'interior' ),
    		'subMenuIconClass' => 'dashicons-before dashicons-arrow-down-alt2',
    		'menuClasses'      => array(
    			'combine' => array(
    				'.nav-primary',
    			),
    			'others'  => array( '.nav-secondary' ),
    		),
    	);
    
    	return $settings;
    
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 10, 2019 at 2:27 pm #249347
    nthdegreemd
    Member

    I'm sorry. I'm so stuck on step 3. I'm not sure where the closing brackets are. I'm not very familiar with PHP

    January 10, 2019 at 3:25 pm #249790
    Victor Font
    Moderator

    Just replace the current function with the one I gave you above.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 12, 2019 at 12:36 pm #271680
    nthdegreemd
    Member

    I have added this code successfully, but the word "MENU" is not appearing above the menu icon. What am I doing wrong?

    January 13, 2019 at 10:30 am #282196
    Victor Font
    Moderator

    I can't see what you did so I can't tell you what you did wrong. I tested the code I gave you on the same theme on my development server so I know it works.

    I'm not familiar with the performance plugin you're using. You may have to clear all of your caches before you can see changes.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 13, 2019 at 6:51 pm #286234
    nthdegreemd
    Member

    I did clear my cache.

    this is what it looks like in the editor. I did verify by the file manager it's in the functions.php

    screenshot of editor

    January 13, 2019 at 6:53 pm #286261
    nthdegreemd
    Member

    screenshot of editor

    January 14, 2019 at 7:51 am #292466
    Victor Font
    Moderator

    Your screenshot links aren't working. Paste your functions.php file into https://pastebin.com/ and then provide the link to the code.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 14, 2019 at 7:19 pm #297890
    nthdegreemd
    Member

    Here is the functions file

    https://pastebin.com/TDVbhyfR

    January 15, 2019 at 9:16 am #304480
    Victor Font
    Moderator

    You didn't follow any of the instructions I gave you. All you did was paste the new code to the end of functions.php where it will never work.

    I've redone your functions.php.

    https://pastebin.com/cJbfLf9q

    This will add the word "Menu" to the mobile. You'll have to figure out the CSS to place the word above the menu icon.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 15, 2019 at 1:20 pm #306367
    nthdegreemd
    Member

    God Bless you Victor, thank you for your patience and help! It worked!

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Add "MENU" wording to mobile navigation’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble