WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Ov3rfly
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/polylang/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags