I found how to add the switcher to the footer and sidebar, but I would like it to appear at the top of the site, in the header if possible?
Thanks, I was able to hard code it in.
Hi jonhebert007 !
Can you tell me how you hard code the language switcher on the side of your mobile menu ?
Alexeinporis, here is how I did it:
I used this HTML:
<div id=”lotuslang”>
<?php pll_the_languages(array(‘show_flags’=>1)); ?>
</div>
And this CSS:
#lotuslang
{
background-color:#9d0b0e;
padding:5px 10px;
}
#lotuslang a
{
color:#fff;
font-size:14px;
font-weight:bold;
}
#lotuslang li
{
margin-right:20px;
}