Is it possible to enable/disable a WPCodeBox snippet depending on whether a certain Bricks template is active or not?
For example, if my “Header” bricks template with ID=14
is active on the page(s) being visited, then the snippet with the styles from that “Header” should be applied.
WPCodeBox has a “Condition Builder” that allows you to use custom PHP conditions, but I don’t know what this condition should look like.
Is there a hook that allows you to identify when a certain brick template is active?
Has anyone solved this before or has any insight? I’d greatly appreciate your help.