newby1884
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Specific flag not appearingHello,
I will try this, it seems to have already worked.
(by the way it may be helpfull to change the flags name in the plugin in general from al.png to sq.png, because name of Albanian differs in the Albanian language, where it’s called Shqip. Just like in greek, where you use el.png instead of gr.png)
https://en.wikipedia.org/wiki/Albanian_language
Here an example bilingual page of Albanian and Macedonian with the different subdomains:
Thanks a lot for your fast support and for providing this plugin in general constantly for free!
Best regards,
newby1884
Forum: Plugins
In reply to: [Multisite Language Switcher] Specific flag not appearingHere a picture of the malfunction:
Forum: Plugins
In reply to: [Multisite Language Switcher] Specific flag not appearingHello,
thanks for your fast answer! Unfortunately this didn’t work for me, I don’t know if it is due the fact that I’m working with a child-theme?! When I added this code to the functions.php and saved it, the flag didn’t appear and also there was now a code-line in the upper line of the backend to me, with the last line of your code.
return $icon;
}
add_filter( ‘msls_options_get_flag_icon’, ‘get_my_flag_icon’, 10, 2 ); if I don’t make a mistake.But in the mean time I had another idea, namely to change simple the name of the flag from al.png to sq.png. Is this also a way or will it cause unforeseen errors? I already changed it and if you visit the site, you may see, that it already worked superficially, but I don’t know what about the deep fuctions…
Best regards
newby1884