Conditionally Hide a Section on a Specific Taxonomy’s Term Archives in BricksA user asked: I have a CTA in the footer of my site, which I have custom fields on various templates, etc to populate. I…Read more →Categories: Bricks, FreeTags: Conditions
Pro Getting Field Values from a Connected CPT when using Meta Box Relationship in BricksConditionally render elements in a single template of a CPT depending on the value of a regular custom field.Read more →Categories: Bricks, Plugins, ProTags: Conditions, Custom Functions, Meta Box
Check if a given category has at least one postThere could be situations where you want to check if a given category (by its slug) has at least 1 post assigned to that category.…Read more →Categories: Bricks, FreeTags: Conditions
Checking if the current post has been published within the last x daysConditionally output an element if the current post has been published in the last x number of days.Read more →Categories: Bricks, Free, WordPressTags: Conditions
Pro Checking if the current Page/Post has Children i.e. is a Parent in BricksShows how we can check whether the current Page or Post (of any hierarchical post type) is a parentRead more →Categories: Bricks, ProTags: Conditions
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
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 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
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 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
Checking if Repeater/Cloneable Meta Fields Are Empty in BricksCreating a condition to ensure that a section only gets output if at least one row of data is filled in.Read more →Categories: Bricks, Free, PluginsTags: Conditions