[Resolved] Disable Login Language Selector on login screen
This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed to disable the language selector from the login screen and was experiencing a 503 error with the MemberPress plugin when WPML was activated. Solution: To hide the language switcher on the login page, we recommended adding the following CSS to the site:
.wpml-login-ls {display: none !important;}
This code was added in the
functions.php
file of the currently active child theme using the following function:
For the 503 error issue with the MemberPress plugin, we did not make any changes to WPML settings as the plugins were disabled. We suggested that this issue might require a new ticket as it appears to be unrelated to the CSS changes made.
Please note that the solution provided might be 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.
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.
Sorry for the delayed response but it is a pretty full queue at the moment so it can take a bit longer to get back to you.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
- Please make a backup of the site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.
Now it seems the memberpress plugin is not working anymore, if you go an register to any memberpress plan is not working its giving 503 and if you dezactivate wpml its working fine
I did not touch WPML in any way, plus the WPML plugins were all disabled when I logged into the site.
I just added some CSS code into the child theme that will work specifically on the login page.
So if this happens, it will definitely happen with or without the code that I added, when WPML is enabled and if that is the case, this issue would require a new unique ticket as it is a different issue.
Also, please notice that there's a new update available for WPML: hidden link