Conditional display based on ACF Page Link and/or Taxonomy

Is it possible to show or hide a section in Bricks based on an ACF Page Link or ACF Taxonomy field choice?

In this case, I have a top bar. I have a conditional set to show the bar based on a Yes or a No. This field group is set up in a global options page. That’s easy enough.

But I’d like to have the ability to switch it off on individual pages, based on a Page Link dropdown field. In fact, I’d like to choose which pages to NOT show the top bar. Since the website has many pages, it’ll be easier to choose the pages it should not show on.

Similarly, I’d like to choose whether the top bar should show on specified categories and tags, which is chosen using the Taxonomy field type.

Any ideas on how I can achieve this?

I could set up the top bar section multiple times, and create conditions around that, but I’m trying to be as succinct as possible.

Herewith more details…

I have a section template in Bricks Builder. It’s called: Section - Top bar.

I have an ACF field group called: Section - Top bar.

I have the following fields in the field group:

Label - Show top bar?

Name - section_top_bar__show_top_bar_section

Type - Button Group

Label - Show prefix?

Name - section_top_bar__show_prefix

Type - Button Group

Label - Prefix

Name - section_top_bar__prefix

Type - Text

Label - Show middle?

Name - section_top_bar__show_middle

Type - Button Group

Label - Middle

Name - section_top_bar__middle

Type - Text

Label - Show suffix?

Name - section_top_bar__show_suffix

Type - Button Group

Label - Suffix

Name - section_top_bar__suffix

Type - Text

Label - Show on pages?

Name - section_top_bar__show_on_pages

Type - Button Group

Label - Pages to mute

Name - section_top_bar__pages_to_mute

Type - Page Link

Label - Show on categories?

Name - section_top_bar__show_on_categories

Type - Button Group

Label - Categories

Name - section_top_bar__categories

Type - Taxonomy

Label - Show on tags?

Name - section_top_bar__show_on_tags

Type - Button Group

Label - Tags

Name - section_top_bar__tags

Type - Taxonomy

The idea is to show the top bar on all pages, except those I choose from the following fields:

section_top_bar__pages_to_mute

And on the category and tag archive pages I choose inside:

section_top_bar__show_on_categories

section_top_bar__show_on_tags

How will I go about setting up a Bricks conditional for the top bar?