Title: flags in drop down
Last modified: August 31, 2016

---

# flags in drop down

 *  Resolved [dados](https://wordpress.org/support/users/dados/)
 * (@dados)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/flags-in-drop-down/)
 * Just to ask.. is there maybe some best solution to add flags in drop down instead
   text.. something like this [http://www.ixtendo.com/demo/polyglot-language-switcher-jquery-plugin-2.2/index.html#](http://www.ixtendo.com/demo/polyglot-language-switcher-jquery-plugin-2.2/index.html#)
 * I see there is no option in administration or tutorial how to add it
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/flags-in-drop-down/#post-6966671)
 * Hi
    I let you read the Chouby answer: [https://wordpress.org/support/topic/polylang-18beta1-is-available-for-tests/page/2?replies=34#post-7883269](https://wordpress.org/support/topic/polylang-18beta1-is-available-for-tests/page/2?replies=34#post-7883269)
 *  Thread Starter [dados](https://wordpress.org/support/users/dados/)
 * (@dados)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/flags-in-drop-down/#post-6966715)
 * Okay.. tanks.. I think this can work.. so first will create menu list and add
   this script, only problem what I can see is that selected language its not stay
   selected on page redirect.. so when you change language to Arabic site translate
   work but selected language in bar is still English.. this is not good 🙁
 *  Thread Starter [dados](https://wordpress.org/support/users/dados/)
 * (@dados)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/flags-in-drop-down/#post-6966725)
 * Okay.. I do not want to use some big scripts or something so I did this.. I will
   write here if somebody else need it..
 * 1.) I create sidebar in my theme, and add it to header
 *     ```
       <div class="drop-dl">
         <a class="lang-chose" href="#"><img src=""> Chose language</a>
         <?php get_sidebar(); ?>
       </div>
       ```
   
 * 2.) Then I go to admin page and on widget section I add Language Switcher to 
   Sidebar to get Unsorted Lists from languages
 * 3.) and I add small script and css code to get this work, here is [CodePen demo link](http://codepen.io/dados/pen/OMzqbK)
 * Any suggestion is welcome 🙂 Because this solution work with “Polylang widget”,
   the good part is that you have addition options and functionality to chose from
   widget “Language Switcher” [http://prntscr.com/9t4xdt](http://prntscr.com/9t4xdt)

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

The topic ‘flags in drop down’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [dados](https://wordpress.org/support/users/dados/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/flags-in-drop-down/#post-6966725)
 * Status: resolved