Pro Condition for checking Bricks contentOnly outputting Bricks content when a Page is built with Bricks, otherwise display WP content.Read more →Categories: Bricks, ProTags: Setup, Templating
Conditional Output based on Manual Excerpt in BricksHow to display a post’s excerpt only if it has been manually set.Read more →Categories: Bricks, FreeTags: Conditions
Conditional Output on the First Page of Archives in BricksHow to output an element on an archive page only if we're on the first page of the archive.Read more →Categories: Bricks, FreeTags: Conditions, get_query_var
JetEngine Checkbox Condition in BricksHow elements in Bricks can be conditionally output depending on the selected option from a JetEngine checkbox field.Read more →Categories: Bricks, Free, PluginsTags: JetEngine
Pro Conditional CSS Classes based on Bricks Query CountIn a Bricks project I am currently working on, there are nested query loops - team members inside departments on a Page. Each team member…Read more →Categories: Bricks, ProTags: bricks/element/render_attributes
Disabling Bricks’ Header & Footer Conditionally with Custom FieldsHow to give content editors the ability to disable headers or footers on specific posts/pages using custom fields.Read more →Categories: Bricks, FreeTags: bricks/render_footer, bricks/render_header, Conditions, Footer, Header
Pro Conditional CSS in Bricks based on Post MetaIn the Bricks Facebook group a user asked: Hi, how do you normally control margin, padding and font-size using dynamic data? I'm looking for the…Read more →Categories: Bricks, Plugins, ProTags: Attributes, wp_add_inline_style
Pro ACF Repeater sub field value dynamic data condition in BricksThis Pro tutorial provides the steps to output an element on single posts (can be of any post type) only if a specified ACF (Pro)…Read more →Categories: Bricks, Plugins, ProTags: ACF Pro, Conditions, Dynamic Data
Pro Conditionally Outputting Query Loop Item Based on Post Meta in BricksRendering query-loop enabled posts depending on the value of each post's custom field value is tricky because by default, the custom field plugins' functions or…Read more →Categories: Bricks, ProTags: bricks/element/render
Condition for Checking Current Post Category in BricksHow we conditionally display an element based on the current post's categories.Read more →Categories: Bricks, FreeTags: Conditions
Pro Conditional Rendering in Bricks Based on CSS ClassUpdated on 19 Jun 2024 A user asks: Is there a way to apply the same conditions to several elements like we set styles appending…Read more →Categories: Bricks, ProTags: bricks/element/render
Pro At Least 1 Search Result Condition in BricksRegistering a custom condition to render elements depending on whether there is at least one search result.Read more →Categories: Bricks, ProTags: Conditions, Search Results