add WPML code to NAV bar

Community Forums Forums Design Tips and Tricks add WPML code to NAV bar

This topic is: not resolved

Tagged: ,

This topic contains 6 replies, has 3 voices, and was last updated by  MortenK 4 months, 3 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #52336

    foodiesplace
    Participant
    Post count: 7

    Hi, I would like to add this code
    <?php do_action('icl_navigation_menu'); ?>

    from the WPML plugin to the nav bar, It should generate a drop down list of the languages available and I would like the drop down to show right next to the last menu item in my primary menu bar.

    Thanx

    Valentina

    #52343

    braddalton
    Participant
    Post count: 10243

    Can you please link to the documentation where this code is located. Thanks.

    You might be able to add it with this code:

    Source http://www.rfmeier.net/add-a-custom-primary-nav-extras-within-genesis/


    #52354

    foodiesplace
    Participant
    Post count: 7

    Thanx
    I got the code on the set-up page ofthe WPML plugin and there it specifies to add the code to the header.php (where, how?)

    I’ve then found the same instructions on their website

    documentation here

    In the meantime I’ve tried to play around with the code u gave me but nothing happens
    thanx again

    • This reply was modified 1 year, 3 months ago by  foodiesplace.
    • This reply was modified 1 year, 3 months ago by  foodiesplace.
    #52358

    braddalton
    Participant
    Post count: 10243

    Its a premium plugin so they should provide the support for this.

    I’d paste Ryans code on their forum and ask them how to use it in the custom function so it displays right side of any genesis nav menu.


    #52359

    foodiesplace
    Participant
    Post count: 7

    problem solved …..

    I am so sorry I took your time, I need to get this job done and the total lack of sleep is starting to get me.

    thanx!

    #52365

    braddalton
    Participant
    Post count: 10243

    Can you share the solution please.


    #107711

    MortenK
    Member
    Post count: 23

    Did Ryan’s code work for you?
    If not, what solution did you go with?

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.