Conditions for elements

How we can add more conditions to bricks?

Which conditions are you aiming to add? Curious because we’ve found a few work arounds via MetaBox.

What are the paths?

I would like to add conditions that I created for Oxygen, where it was possible to freely add custom display conditions for elements. In Bricks, this can be done through dynamic data, but this is not quite the right format.

And yes, I’m used to using ACF.

There’s no API for it yet, but you do it easily by creating custom functions that, for example, return A if one condition is true, return B if another condition is true.

Then use the ‘echo’ dynamic tag in the conditions to check against what is output by that function.