Language switcher
-
Hello,
I installed Polylang on my Soulmedic theme, and I’m having troubles setting up the language switcher. I want to put only the flags with a dropdown style on the header (above the main menu, on the left of the phone number, https://www.starliftclinica.com) but when I put the code on the “top” option it doesn’t recognize it and shows a part of the code (it shows this: 1,’show_names’=>0, ‘dropdown’=>1)); ?>)
This is the code I’m using:
- <?php pll_the_languages(array(‘show_flags’=>1,’show_names’=>0, ‘dropdown’=>1)); ?>
How can I do it?
thank you,
- The topic ‘Language switcher’ is closed to new replies.