Dear Kriesi Team,
I just want to update you from Bigul, a moderator in WPML website about an issue in theme:
Please confirm the same code is exist in the latest version(fresh copy) of Enfold theme. I guess most probably Enfold team has written this code for compatibility with WPML. So you may need to change the code each time while updating the theme. If possible please confirm with the theme author.
Link : https://wpml.org/forums/topic/instead-of-name-flags-are-shown/
Regards,
Sadegh
Hi Sadegh!
Please try adding following code to Functions.php file in Appearance > Editor
function avia_remove_main_menu_flags(){
remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 9998, 2 );
remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 9998, 2 );
remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10);
}
add_action('after_setup_theme','avia_remove_main_menu_flags');
Regards,
Yigit
Hey Yigit,
I have added the codes, but it made WPML languages (English and Persian) gets vanished from the bar. (so I removed the code)
Regards,
Sadegh
Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
Best regards,
Yigit
Hi Yigit,
Please find the login credentials in private area.
Regards,
Sadegh
Hi Sadegh!
We have reported the thread to our devs. Issue will be looked into.
Unfortunately until we make the changes on original files, you are going to need to apply the changes manually when you update the theme.
Cheers!
Yigit
Hi Yigit,
Thank you for informing me about that.
I hope the developers could solve that issue.
(you may now close the thread please)
Cheers,
Sadegh