Support » Plugin: Polylang » Hide language switcher widget if post not translated?

  • Thanks for this very nice plugin, seems to work exactly as expected.

    What would be a recommended way to hide the complete language switcher widget if there is no other language version of a post besides the default language?

    Imagine a language switcher widget title like “This page in” or similar. It would only make sense if there is actually a translated version available.

    If some internal constant would “know” if there are translations or not, then e.g. Widget Logic plugin could be used.

    Thanks for suggestions.

  • The topic ‘Hide language switcher widget if post not translated?’ is closed to new replies.