June 5, 2022/0 comments/FavoriteUser Role Condition in BricksSridhar KatakamCategories: Bricks, ProTags: Conditions This Pro tutorial provides the steps to conditionally output elements depending on the currently logged-in user's role. Step 1 Create a section Template having the content you wish to output for users having a specific role. Sample name of a Template for author user role: Author User Role Content Edit and build it with Bricks. Step 2 Add the following in your child theme's functions.php: This is a BricksLabs Pro tutorial. For full access login below or create your BricksLabs Pro account Username Password Remember Me Forgot Password Sridhar KatakamSridhar Katakam is a Bricks enthusiast. He likes helping people by researching and solving problems related to WordPress and building websites.Instant access to all 250+ Bricks code tutorials with BricksLabs Pro