Hi,
please have a look at my website to see that the php code is not evaluated. I activated the plugin of course and used the code element.
What I am trying to do is to add language flags to on the very top of my website. While I already found a solution for the default theme (add the flags to the menu – see 2nd link) I can’t get it to work for the “no header no footer” theme because I have no menu where I can place the flags on to and I don’t know which files I do have to modify.
Regards
Hello Yigit,
I tried to add the follwoing code but it does not get interpreted:
// Language switcher
if (function_exists('pll_the_languages'))
{
?> <div class="my-lang"><?php pll_the_languages(array('show_flags'=>1,'show_names'=>0, 'hide_if_empty'=>1)); ?></div> <?php
}