https://github.com/krosscode/wpml-better-flags
Replaces flag images with higher quality flat ones.
https://github.com/krosscode/wpml-better-flags
Last synced: 5 months ago
JSON representation
Replaces flag images with higher quality flat ones.
- Host: GitHub
- URL: https://github.com/krosscode/wpml-better-flags
- Owner: krosscode
- License: mit
- Created: 2017-12-05T13:50:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-05T15:25:40.000Z (about 8 years ago)
- Last Synced: 2025-04-06T23:27:27.286Z (10 months ago)
- Language: PHP
- Size: 112 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WPML Better Flags
Replaces flag images with higher quality flat ones.
This plugin uses a very simple workflow, to replace the default WPML Flags.
- Is the flag a default flag? (only if the url is part of the wpml plugin folder)
- Does our plugin have a flag with the same filename?
- If yes to both of the above, replace it with our plugin.
This workflow also makes sure that, if this is a custom flag you uploaded, it will not be replaced.
I had a hard time finding the correct filters to change the flags, so if there are some areas where it does not work, feel free to contribute!
Some flags are also not yet added, or may have wrong filenames, and will therefore not replace the defaults. Once again, always feel free to contribute!
If flags are missing, check the link below, as the flag you are looking for is most likely available from the pack.
## Credits
Flag pack by Muharrem Senyil
https://dribbble.com/shots/1211759-Free-195-Flat-Flags