• Hello,
    I use your beautiful polylang plugin and whant to place the language switcher with two flags side by side (no list). I have found the following code, but I get only 2 flags on a list.

    Can you please help me to get the flags side by side (like if I place the language switcher in menu?

    <?php pll_the_languages(array('show_flags'=>1,'show_names'=>0)); ?>

    Thanks and best regards,
    Max

    https://www.ads-software.com/plugins/polylang/

Viewing 1 replies (of 1 total)
  • Plugin Author Chouby

    (@chouby)

    Your problem won’t be solved with PHP but with CSS. You will find your answer in the Polylang documentation.

Viewing 1 replies (of 1 total)
  • The topic ‘Language switcher PHP Code’ is closed to new replies.