Title: flags not siplaying in header.php
Last modified: August 31, 2016

---

# flags not siplaying in header.php

 *  Resolved [shambe1](https://wordpress.org/support/users/shambe1/)
 * (@shambe1)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/flags-not-siplaying-in-headerphp/)
 * I have tried many options including below,
    - <?php pll_the_languages();?>
 *  but language flags not displaying in Menu bar. I have tried it placing inside
   content-header.php even. no result.
    Can anyone tel me how to display flags like
   this. [http://idesignproduction.com/beta/mv/](http://idesignproduction.com/beta/mv/)
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * (@chesio)
 * [10 years ago](https://wordpress.org/support/topic/flags-not-siplaying-in-headerphp/#post-7275592)
 * Hi,
 * You might need to add `'show_flags'` parameter to your code:
 *     ```
       <?php pll_the_languages(array('show_flags' => 1)); ?>
       ```
   
 * Cheers,
    Česlav
 *  [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * (@chesio)
 * [10 years ago](https://wordpress.org/support/topic/flags-not-siplaying-in-headerphp/#post-7275593)
 * Also, you might be interested in other parameters of [pll_the_languages](https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/#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](https://wordpress.org/support/users/shambe1/)
 * (@shambe1)
 * [10 years ago](https://wordpress.org/support/topic/flags-not-siplaying-in-headerphp/#post-7275615)
 * Thank you

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

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

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

 * [flag](https://wordpress.org/support/topic-tag/flag/)
 * [language](https://wordpress.org/support/topic-tag/language/)

 * 3 replies
 * 2 participants
 * Last reply from: [shambe1](https://wordpress.org/support/users/shambe1/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/flags-not-siplaying-in-headerphp/#post-7275615)
 * Status: resolved