[Resolved] Change 'menu' name on mobile view

Home Forums Support [Resolved] Change 'menu' name on mobile view

Home Forums Support Change 'menu' name on mobile view

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #110528
    Stuart Webb

    Hi,

    Is it possible to have the ‘Menu’ wording on the mobile view changed, e.g. ‘More’? I have set the menu name to ‘More’, but that doesn’t change what is displayed.

    Also, I read on a post somewhere that there was a plan to release a new plugin which allows more modification to the mobile view, any ideas when this is due for release?

    BTW, for anyone wanting to remove the word ‘Menu’ entirely, this can be done with the following code:

    span.mobile-menu {
    display: none;
    }

    Thanks, Stuart

    #110701
    Tom
    Lead Developer
    Lead Developer

    Working on that add-on right now πŸ™‚

    For now, you can use a filter to change the name:

    add_filter ( 'generate_mobile_menu_label','generate_custom_mobile_menu_label' );
    function generate_custom_mobile_menu_label()
    {
          return 'Whatever';
    }

    Adding PHP: http://generatepress.com/knowledgebase/adding-php-functions/

    Let me know if you need more info πŸ™‚

    #111142
    Stuart Webb

    Thanks Tom, I’ll give it a go. I’m looking forward to the upcoming add-in.

    Stuart

    #111155
    Stuart Webb

    Works perfectly, thanks.

    #111173
    Tom
    Lead Developer
    Lead Developer

    No problem! πŸ™‚

    #326693
    mike

    Tom,

    Sorry to bump this 2 year old thread, but I need to change the menu name on the secondary nav as well..

    The filter above worked perfectly for the main navigation.

    Thank you!

    #326772
    Tom
    Lead Developer
    Lead Developer

    There’s options to do this is each of their Customizer sections now:

    Customize > Layout > Primary Navigation
    Customize > Layout > Secondary Navigation

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.