Hi there,
So i’ve edited the functions.php file to remove the default flags for wimple integration on the main menu. But now my language switcher looks like this and I can switch between languages as a dropdown menu. Please help. Thank you.
Hey Jon!
How would you like to display language switcher? Also, please post temporary admin login credentials so we can check WPML settings
Cheers!
Yigit
Hey!
Add this in the functions.php file:
add_action('avia_meta_header', 'add_custom_content_to_header');
function add_custom_content_to_header() {
do_action('icl_language_selector');
}
Use the Quick CSS field to adjust the position of the language switcher.
Best regards,
Ismael
Hi Ismael,
Thank you for your kind support. I’ve added in the code in functions.php but the language is still not a dropdown and still appears as . Hmmm, don’t think the code worked for the dropdown language selector.
Hi guys, any idea why the language switcher isn’t appearing? Hmm just can’t seem to get it work with
add_action(‘avia_meta_header’, ‘add_custom_content_to_header’);
function add_custom_content_to_header() {
do_action(‘icl_language_selector’);
}
in the functions.php file. Any advice would be much appreciated!
Hi guys, any help on my issue above would be much appreciated! I still can’t get the language switcher to show. Please advise if possible thank you
Hi guys, I’m sorry but it’s been awhile. Please could someone help me take a look at why my WPML language switcher is not working as a dropdown on my main menu please?