Skip Navigation

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.


This topic contains 1 Antwort, has 2 Teilnehmer.

Last updated by Riffaz Vor 1 Jahr, 11 Monate.

Assigned support staff: Riffaz.

Author Artikel
August 21, 2019 um 5:16 am #4428083


I would like to have the language switcher only on the homepage, not on every single page

Did not find an answer to that.

Is there a similar example that we can see? no

hidden link (If you need to login - let me know, I will create and admin account for you)

August 21, 2019 um 6:53 am #4428341



Thank you for contacting WPML support.

There is no any option to do this via plugin options.
We can achieve this by adding some css.
For that we have to check your site but I could not access your site.

Anyhow, adding the following code should hide the language switcher on all the pages except the homepage.

body:not(.home) .wpml-ls-item { display: none !important; }

Add this css code to WPML > Languages > Language switcher options > additional css

Let me know how it goes.


Das Thema ‘[Geschlossen] Language Switcher’ ist für neue Antworten geschlossen.