• 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

Essence Pro – hamburger menu. Where to change the text itself?

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 › Essence Pro – hamburger menu. Where to change the text itself?

This topic is: resolved

Tagged: Essence Pro, nav menu, responsive menu

  • This topic has 14 replies, 4 voices, and was last updated 2 years, 5 months ago by iwannabe.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • August 7, 2020 at 3:40 pm #500485
    iwannabe
    Participant

    Version: 1.4.0

    Hi!

    I need to translate the word "MENU" next to the hamburger on the mobile version into my language. But I can't find where to do it ...

    In the previous version of Essence Pro v.1.1.0, it was here:

    lib/header-functions.php

    echo '<button class="off-screen-item toggle-off-screen-menu-area"><i class="icon ion-md-menu"></i> Menu</button>';

    Really need your help.

    August 8, 2020 at 9:05 am #500488
    Anita
    Keymaster

    Open your Essence Pro theme, then go to /lib/header-functions.php. Go to line 73 and 74. You can edit the word there.


    Love coffee, chocolate and my Bella!

    August 8, 2020 at 9:25 am #500489
    iwannabe
    Participant

    Thanks, I changed the word Menu on line 73, but it didn't help 🙁

    $ menu_text = __ ('Menu', 'essence-pro');
    $ hide_text = __ ('Hide Off Screen Menu', 'essence-pro');

    What needs to be changed on line 74?

    August 8, 2020 at 9:37 am #500490
    Anita
    Keymaster

    Clear your cache settings.


    Love coffee, chocolate and my Bella!

    August 8, 2020 at 9:39 am #500491
    iwannabe
    Participant

    Did this. It does not help.

    What needs to be changed on line 74?

    August 8, 2020 at 10:07 am #500493
    Anita
    Keymaster

    Post your code here so I can see what you changed.


    Love coffee, chocolate and my Bella!

    August 8, 2020 at 10:12 am #500494
    iwannabe
    Participant

    $menu_text = __( 'Меню', 'essence-pro' );
    $hide_text = __( 'Hide Off Screen Menu', 'essence-pro' );

    August 8, 2020 at 10:13 am #500495
    Anita
    Keymaster

    Can you provide a link to the website?


    Love coffee, chocolate and my Bella!

    August 8, 2020 at 10:21 am #500496
    iwannabe
    Participant

    pozdnev.com

    August 8, 2020 at 10:36 am #500497
    Anita
    Keymaster

    The instructions I gave you should work. It's not working for me. I'd submit a ticket to StudioPress and ask them why changing that word in the file is not working. You can give them a link to our discussion here.


    Love coffee, chocolate and my Bella!

    August 8, 2020 at 10:42 am #500498
    iwannabe
    Participant

    Thanks, I'll write to them.

    August 12, 2020 at 6:10 pm #500545
    vukmilicevic
    Participant

    Here is the code to put in functions.php or in another way. Adjust other parameters as per your needs.

    function genesis_sample_responsive_menu_settings()
    {
        $settings = array(
            'mainMenu'         => __('YOUR_MENU_NAME_OR_EMPTY', 'essence-pro'),
            'menuIconClass'    => 'dashicons-before dashicons-menu',
            'subMenu'          => __('Submenu', 'essence-pro'),
            'subMenuIconClass' => 'dashicons-before dashicons-arrow-down-alt2',
            'menuClasses'      => array(
                'combine' => array(
                    '.nav-primary',
                ),
                'others'  => array(),
            ),
        );
        return $settings;
    }
    August 14, 2020 at 1:15 am #500567
    Brad Dalton
    Participant

    This is how i would do it.


    Get Help – Book Consultation.

    August 14, 2020 at 2:57 am #500568
    iwannabe
    Participant

    Thank you! The StudioPress support gave me the same advice. And it works!

    You will need to edit the essence-pro/config/responsive-menus.php then add a mainMenu key so it looks like this: 'mainMenu' => 'MENU TEST',

    August 14, 2020 at 2:57 am #500569
    iwannabe
    Participant

    Thanks for your help!

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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