Primary

Languages

WPML.orgWidgets Control support for WPML languages is versatile and simple to use.

It allows you to easily display or hide the right widget per language, or for a set of languages by indicating the two-letter language code with the language token:

[language:xyz]

Based on the visibility option chosen, a widget can be made to appear for:

  • All languages.
  • The indicated languages.
  • All languages except the indicated languages.

Widgets Control is compatible with the language selector widget of WordPress Multilingual.

For example, if you want to restrict a certain widget to appear only when the German language is displayed, use:

[language:de]

You can also indicate several languages. To display or hide a widget for English, German and Spanish, use the following condition token:

[language:en,de,es]