I confirm that using the setting – Enfold > Header > Extra Elements -> Enfold WPML Language Flags ( global setting – used for all languages ) , solved my issue (don’t need the snippet code).
Thanks
Yes, used the full snippet with and without the “ava” typo.
Still didn’t solve the issue for me.
BTW: I think there is a typo with the new code, did you mean “avia_main_header_sidebar” (and not “ava”) I checked with both spellings.
Is there any other suggestion?
Thank you
Thanks for the fix and the explanation about the setting (I don’t fully agree, but understand the reasoning). Unfortunately it still doesn’t work for me, waiting to hear if it worked for Bernd.
I included my website privately, if you want to see it.
I know it’s possible to solve this with CSS as well, but I prefer a PHP solution to prevent it from being on the page in the first place.
Hope there is another solution.
Neither of these 2 code snippet solved the flags issue. They are still visible. The first code actually added a second list of flags.
Why are you not adding this as an option in the theme setting? It doesn’t make sense that after a minor theme upgrade we need to deal with this kind of issues.