Conditionally Outputting Elements Only for Posts That Have a Specific Taxonomy TermA user asked: I have a loop with some elements shown in a card.Some items have the taxonomy "Bestseller".In the…Read more →Categories: Bricks, FreeTags: Dynamic Data
Checking for Post Type in BricksLooking for a way to output elements conditionally based on the current post type in the loop in Bricks? Add…Read more →Categories: Bricks, FreeTags: Dynamic Data
Weekday Condition in BricksAs of Bricks 1.7, the built-in "Weekday" condition does not work correctly. This is most likely due to it not…Read more →Categories: Bricks, FreeTags: Conditions, Dynamic Data
Pro Month and Day Condition in BricksThis Pro tutorial shows how we can define a custom function that takes in a month in the three-letter format…Read more →Categories: Bricks, ProTags: Conditions, Dynamic Data
Pro Condition to Check if the Current Category Has At Least One ChildLooking to render an element in the category archive Bricks template only if the category of the current category archive…Read more →Categories: Bricks, Pro, WordPressTags: Dynamic Data
Pro How to Insert Element(s) Between Query Loop Posts in BricksUpdate on 16 Aug 2023: Follow this tutorial instead. This Pro tutorial shows how we can insert a Div (or…Read more →Categories: Bricks, ProTags: Conditions, Dynamic Data, Query Loop
Pro Check if the User Purchased Any of the Specified ProductsThis Pro tutorial provides the steps for setting up a dynamic data condition on any element in Bricks so it…Read more →Categories: Bricks, Plugins, ProTags: Conditions, Dynamic Data, WooCommerce
Pro Custom Dynamic Data Tags in BricksIt is possible in Bricks to output the value returned by any function via whilst passing arguments if needed.…Read more →Categories: Bricks, ProTags: Data Providers, Dynamic Data
Pro Conditional Output Based on ACF Date Field in BricksLooking to have a Section or other elements in Bricks rendered on the frontend only if today's date is before…Read more →Categories: Bricks, Plugins, ProTags: ACF, Date, Dynamic Data
Checking for ACF Repeater Rows in BricksBricks enables us to conditionally output elements if a ACF field of basic type like Text has value by selecting…Read more →Categories: Bricks, Free, PluginsTags: ACF, ACF Repeater, Conditions, Dynamic Data
Pro Count of Images in Meta Box Image Advanced FieldIn the BricksLabs Facebook group a user asks: Is there a way to count images inside a post that uses…Read more →Categories: Bricks, Plugins, ProTags: Dynamic Data, Image Advanced, Meta Box
How to List Your Posts Divided by Categories in BricksIn this tutorial, we'll learn how to display a list of posts divided by each category. The DOM tree Here…Read more →Categories: Bricks, FreeTags: Dynamic Data, Query Loop
Pro Meta Box Relationship in BricksIn BricksLabs' Facebook group a user asks: I have a Product (Metabox CPT) that is connected to a Creator (Metabox…Read more →Categories: Bricks, Plugins, ProTags: Conditions, Dynamic Data, Meta Box, Relationship
Dynamic Data :value filter in BricksBricks 1.5.7 introduced a new :value dynamic data filter. This tutorial provides a practical example of how this filter can…Read more →Categories: Bricks, FreeTags: Dynamic Data
How to apply a custom query var to multiple query loops in BricksIn this tutorial, we'll learn how to apply a PHP filter to modify the query var of multiple query loops…Read more →Categories: Bricks, Free, GeneralTags: Dynamic Data, Query Loop
Dynamic Post ID in Query LoopUpdated on 6 Oct 2022 Looking for a unique ID for each post's row in the output of Bricks' Query…Read more →Categories: Bricks, FreeTags: Dynamic Data
Month-based Background Image in BricksIf you are looking to have different background images of an element for different quarters in a year, here's one…Read more →Categories: Bricks, FreeTags: Dynamic Data
How to add a “Sold Out” badge for out of stock products in BricksLooking to add a "Sold Out" badge for products in the Shop page for WooCommerce products that are out of…Read more →Categories: Bricks, Free, PluginsTags: Dynamic Data, WooCommerce