Open Jimmi08 opened 1 month ago
Can You modify the shortcode that the selected language show the flag?
Yes, if you style it if it is needed ... I could try to use images from the userlanguge_flags menu but this should be theme preference (configuration).
Do you mind using (try) a more advanced solution for theme preferences?
The theme images has flags. Only need the flag from it.
The theme images has flags. Only need the flag from it.
Oh. I missed this. OK.
Done, you need to style it .
width: 20px;
height: auto;
margin-right: 5px;
Done.
I am changing shortcode name to:
{THEME_LANGUAGE_SWITCHER}
The reason: when somebody looks at code (theme.html) it should be clear that it is theme shortcode, not plugin one.
Bug: it was displayed with one language too. Fixed