Home › Support › English Support › [Resolved] Flags with ubermenu are messed up
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 1 reply, has 1 voice.
Last updated by marcoA-32 8 months ago.
I am trying to: user uber menu as new menu
Link to a page where the issue can be seen: hidden link
I expected to see: only the flags in the menu
Instead, I got: double flags
My issue is resolved now. Thank you!
This is how. Adding the following code which hides the Enfold Avia language switcher. If you have another way please feel to share your way with me 🙂
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);