Okay
  Public Ticket #212317
Translate in Menu
Closed

Comments

  • Chris started the conversation

    Hi, In the demo and dummy data you have a header example with a translate menu item showing and I can't figure out how you did that.  I searched here for it too but could not find anything under translation or translate and menu or top bar, etc...

    Thanks in advance. - have purchased 4 licenses so far and will continue.  Awesome theme!

  •  8,839
    Tahir replied

    Hey Chris!

    You need to install the "WPML" Plugin for the language switcher. More info can be found here regarding the plugin: http://www.wpml.org . 

    Thanks


    ThemeNectar Support Team 

  • Chris replied

    Ok Thanks.  It's not something I need so bad it's worth paying for at this time.

    But there doesn't seem to be anything on their site about getting it into the menu like it is in your header images.

    You don't need to reply.  Thanks for your help.

    I was able to get some similar function by installing the "WP Translate" plugin and changing the php in header.php from

    <ul>
    <?php wp_nav_menu( array('walker' => new Nectar_Arrow_Walker_Nav_Menu, 'theme_location' => 'secondary_nav', 'container' => '', 'items_wrap' => '%3$s' ) ); ?>
    </ul>

    TO

    <ul>
    <li><?php wp_nav_menu( array('walker' => new Nectar_Arrow_Walker_Nav_Menu, 'theme_location' => 'secondary_nav', 'container' => '', 'items_wrap' => '%3$s' ) ); ?></li>
    <li><?php echo do_shortcode('[google-translator]'); ?></li>
    </ul>

    which worked ok. I guess.  I have little understanding of this, but it doesn't seem to break anything.  See any problems with this other than updating?

    http://sticksnstonesstudio.com/

    Thanks

    Chris