Get 30% discount on lifetime membership by using BFCM2023 coupon.
Offer ends on 30th Nov 2023 at 11:59:59 PM UTC.

Checking for Post Type in Bricks

Looking for a way to output elements conditionally based on the current post type in the loop in Bricks?

Add a Dynamic data condition like this:

{echo:get_post_type}

Another example:

Instant access to all 250+ Bricks code tutorials with BricksLabs Pro

Leave the first comment