Transposh WordPress Translation
Flags in header (9 posts)

  1. gonzalodelacampa
    Posted 1 year ago #


    I would like to change the dropdown menu for flags in this web: 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!


  2. Kash
    Posted 1 year ago #

    hallo gonzalo,

    did you find a solution?
    I am having the same issue.


  3. gonzalodelacampa
    Posted 1 year ago #

    Hi Kash,

    They sent me this email and with this code you can see the flags in the header:


    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




    . You may also check all the current options in our widget gallery.


  4. mhannan
    Posted 1 year ago #


    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?

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

  6. lew1s
    Posted 1 year ago #

    @gonzalodelacampa hi do you have the code for the flags ?

  7. mohamed_bo
    Posted 8 months ago #

    Hi all.
    I seen that @gonzalodelacampa found the solution, I hope that he share with us hpw he did it.
    Does anyone find the solution for this ??

  8. gonzalodelacampa
    Posted 8 months ago #

    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 {

    To have the flags:

    <?php if(function_exists("transposh_widget")) { transposh_widget(array(), array('title' => '', 'widget_file' => 'flags/tpw_flags.php')); }?>

  9. mohamed_bo
    Posted 8 months ago #

    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 ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Transposh WordPress Translation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic