Skip to content Skip to sidebar

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

Problem:
You have two separate menus for logged-in and logged-out users on your site, and the language flag is only displayed for logged-in users.
Solution:
If you're experiencing this issue, we recommend taking a full site backup and temporarily deactivating the LiteSpeed Cache plugin to see if the problem resolves. If this fixes the issue, try excluding the flag images from the LiteSpeed Cache settings. For more details, you can refer to a related ticket: https://wpml.org/forums/topic/custom-language-switchers-flags-not-showing/#post-14457603

This solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket 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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Noman 4 months, 4 weeks ago.

Assisted by: Noman.

Author Posts
August 12, 2025 at 6:21 am #17311987

fikretT

Background of the issue:
I have two separate menus for logged-in and logged-out users on my site hidden link. The language settings for both menus are the same.

Symptoms:
The language flag is only displayed for logged-in users.

Questions:
How can I fix the issue where the language flag is not displayed for logged-out users?

August 12, 2025 at 7:55 am #17312243

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. This issue might be caused by the LiteSpeed Cache plugin. Please take a full site backup and temporarily deactivate LiteSpeed Cache to check if the problem goes away.

If this resolves the issue, try excluding the flag images from LiteSpeed Cache settings. You can refer to this related ticket for more details:
https://wpml.org/forums/topic/custom-language-switchers-flags-not-showing/#post-14457603

Kindly let me know the results,
Thank you