19th Mar '23/2 commentsCondition to Check if the Current Category Has At Least One ChildSridhar Katakam Looking to render an element in the category archive Bricks template only if the category of the current category archive page is a parent? This Pro tutorial shows how. Add the following in child theme's functions.php (w/o the opening PHP tag) or a code snippets plugin: This is a BricksLabs Pro tutorial. For full access login below or create your BricksLabs Pro account Username Password Remember Me Forgot Password Tagged: BricksDynamic DataProWordPressSridhar KatakamSridhar Katakam is a Bricks enthusiast. He likes helping others by researching and solving WordPress-related problems and building websites.Get access to all 626 Bricks code tutorials with BricksLabs Pro
Pro Conditional Output Based on ACF Date Field in BricksUpdated on 1 Aug 2024 Looking 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
Pro Seasonal banner display in BricksThis Pro tutorial shows how a banner Section can be conditionally output only during/between the start and end dates set in ACF Options page in…Read more →Categories: Bricks, Plugins, ProTags: bricks/element/render, Conditions
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 can be output only if…Read more →Categories: Bricks, Plugins, ProTags: Conditions, Dynamic Data, WooCommerce
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
Bricks Condition for WishList MemberHow to render a Bricks element only if the user has access to a specified WishList Member level.Read more →Categories: Bricks, Free, PluginsTags: Conditions
Pro MemberPress in BricksThis tutorial aims to be a useful resource for using MemberPress in Bricks sites.Read more →Categories: Bricks, Plugins, ProTags: Conditions, Filters, MemberPress
Pro Posts Related by Taxonomy in BricksIt is a common requirement to show posts (posts/CPT items) that belong to the same taxonomy (category/tag/custom taxonomy) as the current single post. This Pro…Read more →Categories: Bricks, ProTags: bricks/element/settings, bricks/posts/query_vars, Conditions, Filters
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
Conditions in Bricks BuilderThe current version of Bricks does not have a built-in Conditions feature but that does not mean we can't set them up manually with custom…Read more →Categories: Bricks, FreeTags: Conditions