Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.
Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.
Sun
Mon
Tue
Wed
Thu
Fri
Sat
-
6:00 – 12:00
8:00 – 12:00
6:00 – 12:00
8:00 – 12:00
6:00 – 12:00
-
-
13:00 – 15:00
13:00 – 17:00
13:00 – 15:00
13:00 – 17:00
13:00 – 15:00
-
Fuseau horaire du supporter: America/Lima (GMT-05:00)
On my website (lien caché), I have a language switch that allows me to switch from French to English, and vice versa.
However, a former colleague added the "US" option, which is not a translation made with WPML, but simply a redirection to another site. It appears as the last item in the list of languages.
Which file do I need to modify to remove this item or update the link?
Les langues: Anglais (English )Français (Français )
Fuseau horaire: America/Lima (GMT-05:00)
Hello,
Welcome to the WPML support forum. I visited your site and check the source code and it seems that this link is not from the WPML selector itself. It doesn't have the WPML CSS classes that items from the selector should have. That confirms that the link is not from a translation from WPML as you mentioned.
I think it has been added through custom code. Probably in your functions.php file or directly in the header.
Note that custom codes are out of the scope of our support, but I can have a quick look if you want. For that I would need access to your site (or a staging copy).
I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.
IMPORTANT: Before we proceed, please backup your site and database.
Please install "WP File Manager", this plugin will give me access to your theme files from the dashboard.
However I think that you have a function or a JS that modify the behavior and add this custom link (that's not a feature we offer).
If it's a JS it will probably target either the ID #lang_sel or a CSS Class with wpml-ls in it (.wpml-ls-statics-shortcode_actions, .wpml-ls wpml-ls-legacy-dropdown, .js-wpml-ls-legacy-dropdown)
Le sujet '[Fermé] Add custom link in menu switch' est fermé aux nouvelles réponses.
Gérer le consentement aux cookies
Nous utilisons des cookies pour optimiser notre site web et nos services. Votre consentement nous permet de traiter des données telles que le comportement de navigation. L'absence de consentement peut affecter certaines fonctionnalités.
Fonctionnel
Toujours activé
Nécessaire au bon fonctionnement et à la communication de notre site web.
Préférences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiques
Nous les utilisons pour analyser les statistiques de notre site. Les informations collectées sont totalement anonymes. Le stockage ou l'accès technique qui est utilisé exclusivement à des fins statistiques anonymes. Sans citation à comparaître, la conformité volontaire de la part de votre fournisseur d'accès Internet ou d'autres dossiers d'un tiers, les informations stockées ou récupérées à cette fin ne peuvent généralement pas être utilisées pour vous identifier.
Marketing
Ces cookies suivent votre navigation pour vous proposer des publicités pertinentes pour vous.