[Résolu] i want the language switcher to display in my header even in the phone
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.
The problem i have is, when i use wpml with my theme, the language switcher appear only when i click on the button menu, i don't want that, i want the language switcher to appear in the top of my website in the header ( keep in mind that i can't control the header because it's a template i can only change the logo the menu components
Les langues: Anglais (English )Français (Français )
Fuseau horaire: America/Lima (GMT-05:00)
Hello,
Welcome to the WPML support forum. If I understand correctly your situation:
- You have a language switcher that is associated with your menu, right?
- So on mobile, you need to click on the icon to open the menu and see the language selector
- But you want to have that selector outside the menu, at the top (probably in the red header), right?
I don't know how your template works it will most probably need custom work here because that's not the default behavior of our selector.
- If you go to "WPML > Languages > Custom language switchers" you can enable a custom language switcher. You will be able to implement that language switcher anywhere on your template using either a shortcode [wpml_language_selector_widget] or a PHP directly in the template PHP file:
That's exactly what I need but the problem is, I am using the themeforest yummi theme, and it doesn't allow to add sequences in the header, like I have 4 choices of headers I can't customise
Custom work is out of the scope of our support, so if you don't feel comfortable doing it by yourself, I would suggest you consider contacting one of our certified partners from this link: http://wpml.org/documentation/support/wpml-contractors/
You will get the custom assistance you need to get on with your project.
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.