Open
Overview of the issue
When using LiteSpeedCache with WPML, you might experience an issue where the language switcher flags are not displayed if the “Lazy Load Images” feature is enabled.
Workaround
To resolve the issue, you can exclude WPML’s language switcher flags from being lazy-loaded:
- Go to LiteSpeedCache > Page Optimization > Media Excludes.
- Locate the Lazy Load Image Class Name Excludes field.
- Add the following class:
wpml-ls-flag