Hide language switcher widget if post not translated? (1 post)

  1. Ov3rfly
    Posted 3 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic