“Pro” Category Ribbon for Posts in Bricks

This Pro tutorial provides the steps to show a "Pro" ribbon for posts that are categorized under the "Pro" category when using Bricks builder.

Step 1

Add a Section having a Container.

Add a Container element inside.

Toggle "Use Query Loop" on.

Click on the Query icon and configure your WP query.

Add a Container inside the above Container and rename it to say, "Ribbon". Give it a class of ribbon.

Add a Heading inside the Container. Rename it to say, "Ribbon Title". Give it a class of ribbon__title.

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

Instant access to 390+ Bricks code tutorials with BricksLabs Pro