• Resolved macmerkur

    (@macmerkur)


    Hi, I have installed the polylang after WP 4.2.2 update, pasted switcher code in header.php and flags are not visible, it shows language names instead. There is the code:

    <div class="Container">
    			<div id="Top">
    			 <ul><?php pll_the_languages();?></ul>
    			</div>
    </div>

    Also updated my theme’s style.css with:

    .lang-item {
        display: inline;
        list-style: none;
    }

    It displays language names instead of flags, so I tried to copy Polish and English flags from /polylang/flags to /polylang/. After that went to Settings -> Languages -> Settings and clicked “Save settings”. Still no joy. Any ideas?

    https://wordpress.org/plugins/polylang/

Viewing 1 replies (of 1 total)
  • Thread Starter macmerkur

    (@macmerkur)

    Ok, I it solved myself 😛 Just changed the line to:
    <ul><?php pll_the_languages(array('show_flags'=>1,'show_names'=>0));?></ul>

Viewing 1 replies (of 1 total)
  • The topic ‘Flags not displaying. Language names instead’ is closed to new replies.