Skip Navigation

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 Subash Chandra Poudel 1 year, 5 months ago.

Assisted by: Subash Chandra Poudel.

Author Posts
May 23, 2023 at 3:36 pm #13701215

christoforoso-2

I am trying to: when i hope on language selector that i added on top menu, i see an html text
a title="
<img
class="wpml-ls-flag"
src="hidden link"
alt=""

/><span class="wpml-ls-native" lang="el">Ελληνικά</span>"

Link to a page where the issue can be seen: homepage

May 24, 2023 at 11:37 am #13706649

Subash Chandra Poudel

Hi there,

Thank you for contacting WPML Support. I will be happy to help you here.

I see the issue on the site. It looks like some plugin, code or theme on the site is adding the content of the Menu as the title tag of the menu item.

For me to troubleshoot the issue further without affecting your live site, can you please use a plugin like duplicator ( https://wordpress.org/plugins/duplicator/) , create a complete backup of the site then provide me with a copy of the site package?

You can upload the package and installer to file sharing app like Google Drive or Dropbox and share the link here. More details on that in the next link.

https://wpml.org/faq/provide-supporters-copy-site/

I have enabled the private reply for you to share the credentials safely.

Regards,
Subash

May 25, 2023 at 7:36 pm #13719109
Subash Chandra Poudel

Hi there,

Thank you for the details.

I tested the issue further and it looks like the issue is caused due to the theme you are using.

Your theme seems to be adding the content of the Menu item as the title of the link to it which causes the issue. In this case I recommend you yo contact the theme provider and see if they could help.

Or you can also use a Custom Language switcher instead of the Menu Language switcher as explained in the next links:

https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-switcher/

https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/

Regards,
Subash

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-footer-language-switcher/