- Displays as dropdown
- Displays language names
- Displays flags
- Forces link to front page
- Hides the current language
If you check “Displays as dropdown”, no other options will be available.
If you uncheck both “Displays language names” and “Displays flags”, the widget will force displaying language names.
If you check “Forces link to front page”, the widget will always send the visitor to the front page in the right language, otherwise it will try to find the translated page (and link to the front page if none was found).
If you check “Hides the current language”, the widget will never display the current language.
Whatever the chosen options, the widget will display a language only if at least one post or one page has been published in this language.
Some flags are supplied with the plugin. However, you may want to use your own flags. For each language, the plugin will look for the file locale.png in the ‘wp_content/polylang’ directory. For example, if the locale is en_US, it will look for en_US.png. Don’t use the ‘polylang/flags’ directory as your modifications may be overwritten when updating Polylang.
For all widgets you have now the possibility to choose to display it for all languages (default) or only one language. Use the language dropdown list at the bottom of the widget options to set up this.