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.
Can you please link to the documentation where this code is located. Thanks.
You might be able to add it with this code:
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
In the meantime I’ve tried to play around with the code u gave me but nothing happens
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.
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.
Can you share the solution please.
Did Ryan’s code work for you?
If not, what solution did you go with?
Here’s another solution to add the flags or text links to any nav menu
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.