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.
Render an element having a specific HTML ID based on value of a custom field
This tutorial provides the steps to use Bricks' bricks/element/render filter to conditionally output an element that has the specified HTML ID based on the value…