After I add languages, it automatically goes back to my current selections. I just can’t make any changes to the language settings. Please help.
strange. I removed WPML and installed Polylang. But it can add more languages either. What’s the problem?
After I removed SG OPTIMIZER, it works okay now. But the problem is that I have a dropdown in the menu and another several flags too. I only want to keep the dropdown. How do I do that?
Hi,
Thank you for the inquiry.
You can add this snippet in the functions.php file to remove the default language flags or switcher from the theme.
add_action('after_setup_theme','avia_remove_main_menu_flags');
function avia_remove_main_menu_flags(){
remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10 );
remove_action( 'ava_main_header_sidebar', 'avia_wpml_language_switch', 10 );
}
Best regards,
Ismael
Thanks Ismael. I have two more questions.
1. Where can I find functions.php
2. I didn’t create a child theme. Can I add a child theme now?
Hi BCRBrian,
Yes, you can add the child theme at any time.
Here are the docs for you:
Best regards,
Victoria
