Display condition based on Meta Box Relationship

Hello,

Is it possible to use a Meta Box relationship as base for a condition in order to show/hide an element?

I was hoping Relationship Not Empty would work but it presumably always comes up as false because it prevents the elements from showing regardless of whether they should or not.

I know anything within a relationship will not show if there’s no content, but sometimes there are other elements, like headings, that you might want to also hide if there’s no relationship content to show.

Does anybody know a solution?

Many thanks.

1 Like