SOLVED: Conditions with URL

Hey!
In my header template I have two versions of an button and I want just one of them to show up on specific pages based on their URL.

Button-Version 1 should be visible on every page except pages which contains “case” in their URL.
Button-Version 2 should be visible only on pages which contains “case” in their URL.

I tried to achieve that with the Element-Conditions but I cannot find the correct settings.

Hope you guys know what I mean and thanks for the support!

You use {site_tagline} but that’s not the url.

Try {post_url}

Alternatively… use tags, and set conditions on tags - which might be easier.

1 Like

Ah wow,
I tried so many options, except that one :upside_down_face:
Now it works perfectly, thanks a lot!!!