In the Bricks Facebook group, a user asks:
I have two post categories – press release and news.
I want to put a condition in the single post template to show/hide a certain block/element on a specific category. How should I do this?
The built-in way to do this is using the Dynamic data condition like this:
outputs the HTML of links to current post’s categories separated by commas.
In this case we want to append the
In the last input field, we would have to type/paste the name of the category we want to check.
To NOT render the element when the post has a specific category, use
does not contain instead of