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 topic contains 2 replies, has 2 voices.

Last updated by Noman 1 month, 2 weeks ago.

Assigned support staff: Noman.

Author Posts
September 3, 2019 at 12:51 pm #4504549

fabioQ-3

Tell us what you are trying to do?: I'M TRYING TO ADD LANGUAGES FLAGS INTO MY TYCHE TEMPLATE (ONEPAGE TEMPLATE WITH FRONTPAGE) MENU BUT IS NOT POSSIBLE BECAUSE ACTIVE MENU IS NOT UNDER 3 AVAILABLE MENUS

Is there any documentation that you are following? YES BUT DO NOT HELP ME

Is there a similar example that we can see? I DON'T KNOW, MAYBE

What is the link to your site? hidden link (WEBSITE UNDER CONSTRUCTION, TO SEE IT I SEND YOU MY ADMIN ACCESS ON NEXT MESSAGE IF YOU NEED THEM)

September 3, 2019 at 2:40 pm #4505529

Noman
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. To take a closer look on this issue, please provide temporary access (WP-Admin and FTP Login info) to your site, so that I can look into your setup and debug the issue.

Your next answer will be private which means only you and I have access to it.

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

Also, please add the debug report in the Debug Information box. I have also enabled debug info box for your next reply: https://wpml.org/faq/provide-debug-information-faster-support/

Thank you

September 4, 2019 at 12:12 pm #4510749

Noman
Supporter

Languages: English (English )

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

Hi,

I have added language switcher in menu by doing below steps:
1. Added below code in the header.php file of your theme:

<?php do_action('wpml_add_language_selector'); ?>

2. Added below CSS in Appearance >> Customize> Additional CSS section:

.wpml-ls-legacy-list-horizontal, .site-header .main-navigation ul{
	display:inline-block;
}

And now it looks as in the attached screenshot. Could you please check and confirm?

Thank you