This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem: I'm trying to add a switcher to the top bar

Solution: Please visit this link: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#using-wpml-shortcodes

Relevant Documentation:

This topic contains 9 replies, has 2 voices.

Last updated by Carlos Rojas 5 months, 2 weeks ago.

Assigned support staff: Carlos Rojas.

Author Posts
May 9, 2019 at 2:49 pm #3777391

dabrowkaS

Hi, I'm trying to add a switcher to the top bar - I've made a visual I want to achieve in attachment. I'm completely new in this and I don't know where to put codes... Sorry... I've found some tips in other tickets, but I don't know where I can put codes in my theme.

Here is something similar I want:
https://wpml.org/forums/topic/language-switcher-in-top-bar-3/

My site: plasticworx.com.pl

May 9, 2019 at 2:57 pm #3777455

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hello,
Thank you for contacting WPML support.

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Kind regards,
Carlos

May 9, 2019 at 7:07 pm #3779051

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you very much for the information provided.

I added the language swticher as a widget in Appearance -> Widgets and the add some CSS to Appearance -> Customize -> Addtional CSS.

For more information please visit this link: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#using-wpml-shortcodes

Regards,
Carlos

May 9, 2019 at 7:59 pm #3779177

dabrowkaS

Thank you. It is almost perfect - I'll try to work with that cause I would like to have them closer to the "mail" section. There is also an issue on english wersion - flags are not on the right position (you can see it on the attached image). Could you please tell me where I can fix it?

May 10, 2019 at 12:20 am #3779977

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you very much for your feedback.

I have fixed the CSS. Could you confirm that the issue is solved now?

Regards,
Carlos

May 10, 2019 at 5:23 am #3781395

dabrowkaS

My issue is resolved now. Thank you! x100

May 10, 2019 at 7:08 am #3781831

dabrowkaS

Sorry, I reopened ticket. On German site the flags are on the right, can you fix it please?

May 10, 2019 at 10:31 am #3783317

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you for noticing this.

I re-arranged the widgets in Appearance -> Widgets -> Top Bar Right and the issue is solved now.

Regards,
Carlos

May 10, 2019 at 11:16 am #3783567

dabrowkaS

Beautiful. Thank you!

May 10, 2019 at 11:48 am #3783849

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,

I'm glad to hear that the issue is solved 🙂

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to help.
Best regards,
Carlos