-
AuthorPosts
-
December 15, 2017 at 5:35 pm #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
December 15, 2017 at 5:42 pm #889342go 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/December 15, 2017 at 5:57 pm #889343Thank 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.
December 16, 2017 at 7:13 pm #889644Hi 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,
VictoriaDecember 16, 2017 at 11:03 pm #889717by 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 7 years ago by Guenni007.
December 18, 2017 at 5:20 am #889901December 19, 2017 at 2:56 am #890314Thank 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
December 19, 2017 at 11:28 pm #890626December 19, 2017 at 11:29 pm #890627you 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-switcherDecember 23, 2017 at 4:24 pm #891819Hi,
@Guenni007 thanks for the detailed solution,
@Lukas did you have a chance to try this?Best regards,
MikeDecember 23, 2017 at 5:05 pm #891824Hey,
I’m just on the vacation. Will try the Guenni007’s procedure next week.
ThanksDecember 24, 2017 at 12:40 am #891884 -
AuthorPosts
- You must be logged in to reply to this topic.