I have an element in a footer that I want to hide if a page has a particular taxonomy value.
Consider this scenario:
Taxonomy key: page-type for page post type.
A specific Page, say a Page titled "Sample Page" has the Page Type set to "No Ad".
The requirement is to output an element (an ad) in the site's footer (or can be in the site header) i.e. outside the loop through out the Bricks site except on Pages whose page type taxonomy has "No Ad" assigned to them.
This Pro tutorial provides the steps to conditionally output elements depending on the currently logged-in user's role. Step 1 Create a section Template having the…