- This topic has 7 replies, 3 voices, and was last updated 7 years, 1 month ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
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.
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
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.
Did Ryan's code work for you?
If not, what solution did you go with?
© 2022 WPEngine, Inc.