Using custom flags in Polylang 1.7.2
-
Hi,
I wrongly added english language as en_US instead of en_GB and add hundreds of translations.
I haven’t any problem but I now need to display flags in the language switcher (instead of language slug) and I need to use the british flag instead of the US flag.Using:
pll_the_languages(array('show_names'=>0, 'show_flags'=>1));
and uploading en_US.png (but british flag) in /wp-content/polylang/ as described here doesn’t work in Polylang 1.7.2 since now flags are encoded.
I’ve trieddefine('PLL_ENCODED_FLAGS', false);
in wp-config.php but doesn’t seem to work.How can I use the british flag for the EN language in pll_the_languages preserving encoded flags settings?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using custom flags in Polylang 1.7.2’ is closed to new replies.