Title: Flags in header
Last modified: August 21, 2016

---

# Flags in header

 *  [gonzalodelacampa](https://wordpress.org/support/users/gonzalodelacampa/)
 * (@gonzalodelacampa)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/flags-in-header/)
 * Hi,
 * I would like to change the dropdown menu for flags in this web: **[http://clinicanicedent.com/nd/](http://clinicanicedent.com/nd/)**
 * I added this code in header.php but I do not know put flags instead of the dropdown
   menu:
 * <div id=”flags”>
    <?php if (function_exists(“transposh_widget”)) {transposh_widget(
   array());} ?></div>
 * Thanks aa lot in advance!
 * [https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/)

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

 *  [Paddy](https://wordpress.org/support/users/pcasciaro/)
 * (@pcasciaro)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/flags-in-header/#post-4889526)
 * hallo gonzalo,
 * did you find a solution?
    I am having the same issue.
 * Thanks
    kash
 *  Thread Starter [gonzalodelacampa](https://wordpress.org/support/users/gonzalodelacampa/)
 * (@gonzalodelacampa)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/flags-in-header/#post-4889533)
 * Hi Kash,
 * They sent me this email and with this code you can see the flags in the header:
 * EMAIL:
 * How can I add the plugin interface without using the sidebar widget?
 * Just add the following line to your template:
    <?php if(function_exists(“transposh_widget”)){
   transposh_widget(); }?>
 * If you want to use a widget style other than the default style and title, you
   can use something like:
 * <?php if(function_exists(“transposh_widget”)) { transposh_widget(array(), array(‘
   title’ => ‘Translation’, ‘widget_file’ => ‘flags/tpw_flags.php’)); }?>
 * The widget file is actually the location of the widget source file in the widgets
   sub directory, you can see all the possible options in our development site. 
   Some intereting options include
 * ‘flags/tpw_flags_css.php’
 * and
 * ‘select2/tpw_select2.php’
 * . You may also check all the current options in our widget gallery.
 * Best,
 *  [mhannan](https://wordpress.org/support/users/mhannan/)
 * (@mhannan)
 * [12 years ago](https://wordpress.org/support/topic/flags-in-header/#post-4889603)
 * Hi,
 * I’m facing same problem but what they suggested is not complete solution I think.
   I have tried to change all the possible file paths but it is not working well
   and still showing Drop downs.
 * Any solution?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years ago](https://wordpress.org/support/topic/flags-in-header/#post-4889604)
 * If you require assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic instead of tagging onto someone else’s topic.
 *  [lew1s](https://wordpress.org/support/users/lew1s/)
 * (@lew1s)
 * [12 years ago](https://wordpress.org/support/topic/flags-in-header/#post-4889635)
 * [@gonzalodelacampa](https://wordpress.org/support/users/gonzalodelacampa/) hi
   do you have the code for the flags ?
 *  [mohamed_bo](https://wordpress.org/support/users/mohamed_bo/)
 * (@mohamed_bo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/flags-in-header/#post-4889682)
 * Hi all.
    I seen that [@gonzalodelacampa](https://wordpress.org/support/users/gonzalodelacampa/)
   found the solution, I hope that he share with us hpw he did it. Does anyone find
   the solution for this ??
 *  Thread Starter [gonzalodelacampa](https://wordpress.org/support/users/gonzalodelacampa/)
 * (@gonzalodelacampa)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/flags-in-header/#post-4889683)
 * Hi, this is code to have the drop-down menu:
 * <div id=”flags”>
    <?php if (function_exists(“transposh_widget”)) {transposh_widget(
   array());} ?></div>
 * and in the css:
 * #flags {
    float:right; }
 * To have the flags:
 * <?php if(function_exists(“transposh_widget”)) { transposh_widget(array(), array(‘
   title’ => ”, ‘widget_file’ => ‘flags/tpw_flags.php’)); }?>
 *  [mohamed_bo](https://wordpress.org/support/users/mohamed_bo/)
 * (@mohamed_bo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/flags-in-header/#post-4889684)
 * Hi Gonzalo,
    Gracias por responder. But I am a little new in this. Can you explain
   in witch php file I have to put each part of the code ? Thanks

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

The topic ‘Flags in header’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/transposh-translation-filter-for-
   wordpress_495166.svg)
 * [Transposh WordPress Translation](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/reviews/)

## Tags

 * [flags](https://wordpress.org/support/topic-tag/flags/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [transposh](https://wordpress.org/support/topic-tag/transposh/)

 * 8 replies
 * 6 participants
 * Last reply from: [mohamed_bo](https://wordpress.org/support/users/mohamed_bo/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/flags-in-header/#post-4889684)
 * Status: not resolved