Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You might need to add 'show_flags' parameter to your code:

    <?php pll_the_languages(array('show_flags' => 1)); ?>
    

    Cheers,
    Česlav

    Also, you might be interested in other parameters of pll_the_languages function. Note that if paramater is not explicitly specified, the default value is applied. Because 'show_flags' has default value 0 (ie. false), you have to explicitly specify it, if you want to have flags displayed by the function.

    Thread Starter shambe1

    (@shambe1)

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘flags not siplaying in header.php’ is closed to new replies.