Home›Support›English Support›[Resolved] Split: weird content showing up when I hover over the flag image in the language switcher
[Resolved] Split: weird content showing up when I hover over the flag image in the language switcher
This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported that the WPML language switcher was not correctly positioned in the middle of the menu, and hovering over the flags displayed code instead of the expected behavior. Despite deactivating all third-party plugins one by one, the issue persisted. Solution: We suggested a workaround involving a code modification. The client needed to open the
files. Additionally, we recommended contacting the theme author to join our Go-Global program to ensure full compatibility with WPML.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at WPML support forum.
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.
Thank you for getting in touch. It appears that a third-party plugin might be causing issues with the WPML language switcher.
Please make sure to back up your site, then deactivate your third-party plugins one by one to identify which one is causing the problem. Let me know the outcome.
I appreciate you suggesting the plugin deactivation approach. Unfortunately, I've already tried deactivating all third-party plugins one by one, but the issue persists.
To expedite the troubleshooting process, would it be possible for you to access my WordPress account to investigate the problem further? I can provide you with temporary login credentials. Alternatively, if you could suggest other potential solutions or steps I can take, I'd be happy to try them.
I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
I can replicate the issue here hidden link and I've escalated this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.
Please note that this change may be need to be done as well in wp_bootstrap_navwalker.php and wp_bootstrap_navwalker_3.php files.
Also, please contact the author and/or ask him to join our Go-Global program here https://wpml.org/documentation/support/go-global-program/ where our Compatibility developers will help them make their product 100% compatible with WPML for free.
Thank you for your sp. I already change code and it fixed for the issue"hover to flags it show code like a picture i attachment." But "Switcher not in the middle of menu and when i drop down to choose another lang, The flag and the country name are not aligned "
Best,
Austin
New threads created by Kor and linked to this one are listed below:
Our support policy allows us to take care of only one issue per ticket.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.