Problem: The client is trying to display only the non-current languages in the top WPML language switcher using the Elementor WPML Language Switcher widget. Solution: We recommend the following steps to achieve this: 1. Ensure you back up your site for safety reasons. 2. Edit the Elementor header template and remove the WPML Language Switcher widget. 3. Add a "Shortcode" widget and insert the following shortcode:
1
[wpml_language_selector_widget]
4. Navigate to WPML >> Languages >> Custom Language Switchers, select the "Enable" checkbox, and click the "Customize" button. 5. In the "Language switcher style" dropdown, select "Vertical list", uncheck the "Current language" checkbox, and click the Save button. This will hide the current language from the language switcher.
Utilizamos cookies para optimizar nuestro sitio web y nuestros servicios. Su consentimiento nos permite procesar datos como el comportamiento de navegación. No dar su consentimiento puede afectar a algunas funciones.
Funcional
Siempre activo
Necesario para que nuestro sitio web funcione y se comunique correctamente.
Preferencias
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Estadísticas
Las utilizamos para analizar las estadísticas de nuestro sitio. La información recopilada es totalmente anónima.El almacenamiento o acceso técnico que se utiliza exclusivamente con fines estadísticos anónimos. Sin una citación, el cumplimiento voluntario por parte de su proveedor de servicios de Internet, u otros registros de terceros, la información almacenada o recuperada solo para este propósito generalmente no puede usarse para identificarlo.
Marketing
Estas cookies rastrean su navegación para proporcionar anuncios relevantes para usted.