Reply To: Mistake with English flag

Home Forums WordPress Plugins Language Switcher Mistake with English flag Reply To: Mistake with English flag

#8166
Rafasashi
Keymaster

The plugin follows the core WP language location/pair and point to the national flag.

In some cases (such as UK or US) it might not reflect the identity of the site and this is why I made the flag implementation optional by manually adding it to the CSS.

My suggestion to solve this issue is to tweak the CSS either by modifying the image containing all the flags located or by pointing the CSS rule to another flag.

To use a custom image follow these steps:

1 – Download the flag image located in the plugin at:

language-switcher\assets\images\flags.png

2 – Modify the flag with an image editor

3 – Upload the new flags in your media gallery

4 – Replace manually the url of the old flags by the new flags in the CSS rule

This change will not be affected by future plugin upgrades.

  • This reply was modified 1 year, 6 months ago by Rafasashi.
  • This reply was modified 1 year, 5 months ago by Rafasashi.
  • This reply was modified 1 year, 5 months ago by Rafasashi.