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 get the language switcher next to the social icons in the header menu. (on the right side). Could you tell me where to place the

do_action('wpml_add_language_selector');

?

Solution:
Solution here: https://wpml.org/forums/topic/language-switcher-position-8/#post-2244661

This topic contains 4 replies, has 2 voices.

Last updated by astridv-7 1 year, 4 months ago.

Assigned support staff: Noman.

Author Posts
May 28, 2018 at 10:15 am #2237786

astridv-7

Hello WPML,

I have a couple of questions regarding WPML and Sallient.

I'm trying to get the language switcher next to the social icons in the header menu. (on the right side)
Could you tell me where to place the do_action('wpml_add_language_selector'); ?

The link to my website is: hidden link

I also noticed that when i click the dutch version my Nectar Slider isn't working anymore, do you know how this happens?

Kind Regards,

Yeroen

May 29, 2018 at 10:19 am #2244661

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello,

Thank you for contacting WPML Support. You need to place the code in your theme’s or child theme header.php file before closing ‘nav’ tag as in attached screenshot.

Please let me know if you need further help in this issue.

In this ticket we will discuss ‘language switcher position’ issue. Please open a new ticket for each issue and we would be happy to help. This will help other users with similar problems to find solutions when searching the forum, We do not handle multiple issues in one same ticket as per support policy.
https://wpml.org/purchase/support-policy/

Thank you

May 30, 2018 at 10:22 am #2250450

astridv-7

Hello,
Im rebuilding the website locally so WPML is disabled for now.
Could you re-send me the screenshot? Because i'm not seeing it, or am i just blind??
I'll open another topic to ask about the Nectar slider.
You can close this topic after re-sending the screenshot!

Kind Regards,
Yeroen

May 30, 2018 at 10:30 am #2250520

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Sorry, It seems screenshot is missed in previous message. Here is attached screenshot.

Please feel free to let me know if you still need help in this issue.

Thank you

May 30, 2018 at 10:32 am #2250526

astridv-7

Thanks, that was all i needed!
Have a nice day.

Kind Regards,
Yeroen