• Hello,

    I notice since Timber version 1.19, the {% if site.language == ‘pt-PT’ %} stopped working. I have WPML. When I downgrade to 1.18.2, it’s working.

    I use this workaround in my staging site:

    {% if site.link == 'https://mywebsite.com' %}

    but I would prefer a better alternative.

    I’m planning to upgrade Timber, but step by step.

    Can someone help me?

    • This topic was modified 2 years, 2 months ago by aleluiapt.

The topic ‘site.language deprecated?’ is closed to new replies.