탐색 건너뛰기

Resolved

Overview of the issue

When installing WPML 3.6.0, if one of the layouts you created with the Toolset Layout plugin uses the Language Switcher widget, this widget might not be rendered.

Workaround

The next version of Layouts will provide improvements in Widget’s handling, which should solve this issue.

For the time being, in order for the language switcher to be rendered, you must use one of the following options:

1. Replace the widget with a text area and use one of the following shortcodes:
{{wpml_language_selector_widget}}: it can be customized in WPML -> Languages -> Custom language switchers
{{wpml_language_selector_footer}}: it can be customized in WPML -> Languages -> Footer language switcher

2. Add a sidebar in your theme, and place there the Language Switcher widget.

3. Use do_action(‘wpml_add_language_selector’); to display a custom language switcher as explained in Displaying WPML’s language switchers in custom locations

9 응답 에게 “Language Switcher widget in Toolset Layouts might not be rendered”

  1. Je n’arrive pas à incorporer WPML dans Osage ou Hot Topix, développé par MVP Themes. Est-ce compatible ?
    Le dossier WPML téléchargé comporte de nombreux éléments: comment choisir lequel incorporer dans le Thème?

  2. Hi there,

    I just upgraded to WPML 3.6.0 and the language switcher which was added to my main navigation menu no longer show.

    Moreover, when trying to configure it in the Menu Language Switcher options, my main navigation menu is not proposed, so I could not add the switcher back.

    Is there a turnaround to this bug? It’s a blocking feature for my site.

    Thx,
    Yves.

    • Hola @hispasurG,

      Te sugiero abrir un nuevo ticket de soporte para que podamos analizar tu tema con mas profundidad y proporcionarte la mejor solución. Si quieres, puedes preguntar por mi para que pueda encargarme directamente de tu problema.

    • Is this happening only with Layouts plugin or generally? The problem was fixed already in a previous release and we left this errata open by mistake.