This Pro tutorial provides the steps to conditionally output elements depending on the currently logged-in user's role.
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.
Add the following in your child theme's functions.php:
This is a Pro members-only tutorial.
To get full access, login below or sign up for a Pro Account
Sridhar Katakam is a WordPress expert with more than 12 years of experience. Sridhar is the founder of WPDevDesign and BricksLabs. He lives in Melbourne, Australia.
Yes, add me to your mailing list