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 5 replies, has 2 voices.
Last updated by Mihai Apetrei 4 years, 4 months ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
January 28, 2021 at 10:37 pm #7956753 | |
Bill Horvath |
Tell us what you are trying to do? I want to display no flags when a page is not translated. Currently if a page is not translated, I still get the English (default) flag. I don't want any hint of WPML to show if a page is not translated. |
January 28, 2021 at 11:48 pm #7956849 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. Please take a look at the solution presented in the tickets below: - https://wpml.org/forums/topic/completely-hide-language-switcher-if-there-is-no-translation/ - https://wpml.org/forums/topic/hide-language-switcher-on-pages-that-are-not-translated/ That should solve this for you. Kind regards, |
January 29, 2021 at 12:34 am #7956937 | |
Bill Horvath |
The first link switches the flags to a list. It does not get rid of the switcher on un-translated pages. |
January 29, 2021 at 12:38 am #7956965 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Have you tried this, too? https://wpml.org/forums/topic/completely-hide-language-switcher-if-there-is-no-translation/#post-3518651 (the last reply in the ticket) Screenshot: hidden link Please let me know. |
January 29, 2021 at 12:50 am #7956999 | |
Bill Horvath |
That's very close, but I want to use a dropdown of flags and not a list We don't have room for a list in the menu. If I choose the dropdown option, the "Current Language" checkbox is automatically selected and can't be un-checked. |
January 29, 2021 at 1:00 am #7957009 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
I see. Thank you for the explanation. Unfortunately, there's no built-in option in WPML for this at the moment (to use that option with a dropdown format). However, I think that what you are asking for would make a great feature request and I think it would be great if you can take a couple of seconds to send it straight to our developers by completing the form in the URL below: Thank you! Mihai |