Flags doesn't show, non-widget
-
Hi
I’m trying to use the plugin without the widget. I’m trying to only show flags as the switcher, without language-names. I’ve added this php to my page
‘<?php pll_the_languages(array(‘hide_if_no_translation’ => 1, ‘hide_current’=> 1, ‘show_flags’=>1, ‘show_names’=>0)); ?>’
Everything works perfectly fine (if I set show_names to 1 I can see it working) but the flags simply does not show up. I’ve tried to upload custom flags as well, using the lang-code as filename to wp-content/polylang, but that didn’t work either.
I suppose I’ve done some stupid mistake that I just doesn’t see myself.
Any help is greatly appreciated!
The topic ‘Flags doesn't show, non-widget’ is closed to new replies.