Skip Navigation

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

Problem:
The client wishes to remove the language selector from the admin login page that reappeared after installing WPML, despite previously using a code snippet in their theme-child functions.php to hide it.
Solution:
If you're experiencing the re-emergence of the language selector on the admin login page after installing WPML, we recommend navigating to WPML > Settings > Login and registration pages. Here, disable the option "Show Language Switcher on login and registration pages" to remove the language switcher.

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 for further assistance.

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 1 reply, has 2 voices.

Last updated by Long Nguyen 5 months, 2 weeks ago.

Assisted by: Long Nguyen.

Author Posts
June 5, 2024 at 2:19 am #15704672

fabio-luizT

Background of the issue:
I wish to remove the language selector at admin login page. Before I installed the WPML, I had this code working properly via theme-child -> functions.php: add_filter('login_display_language_dropdown', '__return_false'); After the WPML installation, it returned the language selector at admin login page.

Symptoms:
The language selector reappeared at the admin login page after installing WPML.

Questions:
How to remove the language selector at admin login page after installing WPML?

June 5, 2024 at 2:45 am #15704680

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Fabio,

Thank you for contacting WPML support, I’m happy to help you with this issue.

Please go to WPML > Settings > Login and registration pages > Disable option " Show Language Switcher on login and registration pages" to remove the language switcher on the admin login page.

Looking forward to your reply.
Thanks

June 5, 2024 at 12:48 pm #15706863

fabio-luizT

topic solved