WordPress.org

Support

Flags in header

Viewing 8 replies - 1 through 8 (of 8 total)
  • hallo gonzalo,

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

    Thanks
    kash

    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,

    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

    @esmi

    Forum Moderator

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

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

    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 ??

    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’)); }?>

    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.
Skip to toolbar