6/12/2023 0 Comments Language switcher widget![]() ![]() More about this block in The language switcher documentation. ![]() Regardless of the chosen option(s), the block will only display a language if at least one post or one page has been published in this language. ![]() With Polylang Pro comes a block allowing you to display a language switcher. With Polylang you have the possibility to add our widget Language switcher ( Appearance tab => Widgets sub-tab) by first adding a block “Legacy Widget” in which you then select the Polylang Language Switcher Polylang language switcher 3.1 Language switcher with legacy widget Once the language is selected a flag is displayed on the left of the dropdown list (replacing the language icon) corresponding to the selected language.ģ. Adding the Polylang Language Switcher to the widget. With this option you will have the possibility to translate the title in the Strings translations option.Ĭhoosing to display a widget for one language (selecting a language in the dropdown list) implies that this particular widget will only be visible on pages and posts available in this particular language. As for the legacy widgets you can choose to display them for all languages (default setting) or only one language.Ĭhoosing “All languages” in the language dropdown means, as the option suggests it, that this particular widget will be available regardless of the language that is displayed. WPML team is replying on the forum 6 days per week, 22 hours per day. Everyone can read, but only WPML clients can post here. With Polylang Pro the language selector is also available in the block embedded view. Resolved Can´t turn on the widget switcher to use on elementor header This is the technical support forum for WPML - the multilingual WordPress plugin. Since WordPress 5.8 widgets are now managed in the widgets block editor ( Appearance tab => Widgets sub-tab). You have the possibility to choose to display them for all languages (default setting) or only one language. The LanguageSelector widget shows the currently selected language and opens up a list of all languages (that you support) when you tap on it. They still work in WP 5.8 and beyond and can be accessed in the legacy widget block. Legacy widgets are the ones that were available prior to WordPress 5.8 ( Appearance tab => Widgets sub-tab). Polylang language filter 1.1 Legacy widgets
0 Comments
Leave a Reply. |