Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #889340

    Hello,
    I looking for a solution, how to put WPML flags into footer socket like I have them in the secondary menu.
    When I enable footer switcher in the WPML plugin, the flag will appear in the second row of footer socket but I would like to keep only one line.
    Do you have some idea how to do that?

    Thank you, Lukas

    #889342

    go to the widgets and put in the desired widget area a text-widget and add the shortcodes
    [wpml_language_switcher type="footer" flags=1 native=0 translated=0][/wpml_language_switcher]

    if you like to have names native=1 etc – go and google to wmpl shortcodes language switcher
    you can see it here in action: https://isp-grube.de/

    #889343

    Thank you but its not solution for me. I don’t footer widgets. They are disabled. I use only footer socket and I wanna those WPML flags there. In the same line with copyright and social media icons.

    #889644

    Hi Lukas,

    Then you will need to edit the footer.php file and add the code there

    
    do_action('wpml_add_language_selector');
    

    And here are the docs
    https://wpml.org/documentation/getting-started-guide/language-setup/custom-language-switcher/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #889717

    by the way you can use shortcodes in copyright input field too!

    but you can do it via Enfold capabilities. without shortcodes or …
    1) Go and create a new menu ! f.e. call it “socket” and mark it as Enfold (Child) Footer Menu
    2) Leave it empty if you like !
    3) go to your WPML Options – there is an oportunity called “Menu language switcher ” mark it and customize it as you like – the menu is than the new “footer menu” and the position will be besides social buttons

    • This reply was modified 6 years, 11 months ago by Guenni007.
    #889901

    Hi,

    Thanks for sharing @guenni007 :-)

    Best regards,
    Rikard

    #890314

    Thank you all,
    I’ve tried all your suggestions but anything does what I want. Unfortunately no solution where I can have the original Enfold socket with copyright, flags and social media icons. Shortcode in the copyright field makes the second row as well.
    I hoped I can put some code into footer.php or modify some part of it or add some CCS code and it will be easily done.
    Anyway thank you again and if you have some another ideal I will appreciate it.

    Best, Lukas

    #890626

    hm ? i tested that procedure: (click on the images to enlarge)
    1)

    2)

    3)

    #890627

    you don’t have to name that extra menu “socket” you can take what you want.
    but you have to synchronize the name with the wpml menu you set in menu-language-switcher

    #891819

    Hi,

    @Guenni007
    thanks for the detailed solution,
    @Lukas did you have a chance to try this?

    Best regards,
    Mike

    #891824

    Hey,
    I’m just on the vacation. Will try the Guenni007’s procedure next week.
    Thanks

    #891884

    Hi,
    Very good, we look forward to your outcome.

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.