• Hi, I have put the language in my header with code:
    <?php pll_the_languages(array(‘dropdown’=>1)); ?>

    And it shows just the name of the languages. But I want to have dropdown with flags.

    <?php pll_the_languages( array( ‘dropdown’=>1, ‘show_flags’ => 1,’show_names’ => 0 ) ); ?>

    This code dosen’t work ether. It always shows name of the language. How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Polylang show flag’ is closed to new replies.