LMS Builder
Build your own course inside of Brick Builder.ย

โ How to build a course platform
Dynamic Pages with Bricks Builder Conditions
You do not have permission to reset course progress.
How to Use Bricks Builder Conditions for Custom Post Types
Bricks Builder conditions make it easy to manage how your content is displayed by setting specific rules. For example, when creating templates for custom post types like video lessons, conditions allow you to dynamically show or hide elements based on fields youโve filled out. This keeps your design flexible and ensures only relevant content is displayed.
To attach a template to a custom post type, youโll need to go into the templateโs settings, add a condition, and specify the post type youโre working with. For example, you might set the condition to display your template only for โVideo Classes.โ This step ensures that your design structure applies to the right content.
Here is a refreshed list for the custom fields we need:
Label | Name | Type |
---|---|---|
Head1 | head1 | Text |
Head2 | head2 | Text |
Content | content | WYSIWYG Editor |
Link1 | link1 | Link |
Linktext1 | linktext1 | Text |
MainPoints | mainpoints | WYSIWYG Editor |
ButtonUrl | buttonurl | Link |
You can take it further by using dynamic data conditions to control individual sections or buttons. For instance, you can hide sections when certain fields are empty or show them only if a specific button URL is provided. These advanced uses let you repurpose templates for various needs, like thank-you pages or course overviews, all within the same framework.
Lesson Overview
Main Points
โ Attach templates to custom post types
โ Use conditions to control visibility
โ Show or hide sections dynamically
โ Repurpose templates for various content
Lesson Resources
Premium Content
Subscribe today for premium content.