LMS Builder
Build your own course inside of Brick Builder.
← How to build a course platform
[lesson_nav_arrows]
Guide to Custom Fields in BricksBuilder
How to Create Custom Fields in Bricks Builder (ACF + Custom Post Type Lessons)
Updated January 2026: This tutorial shows how to create a custom post type for Video Classes, add custom fields using ACF, and map them into a Bricks Builder lesson template using dynamic data.
Setting up custom fields in Bricks Builder can make building courses much easier. Instead of manually rebuilding lesson layouts every time, you can create one lesson template and let WordPress populate each lesson page automatically using dynamic fields.
Quick Answer: What’s the easiest way to build course lessons using Bricks custom fields?
Create a lesson page template in Bricks Builder, then use a custom fields plugin (like ACF) to add lesson fields such as headings, content, and links. Finally, map those fields into your template using dynamic data. Each new lesson post automatically fills in the lesson page layout.
Lesson Overview
In this lesson, you’ll take your existing lesson page design and convert it into a reusable template. Then you’ll create a custom post type called “Video Classes,” add a set of custom fields, and connect everything inside Bricks using dynamic data.
Main Points
- Save a lesson page as a reusable Bricks template
- Create a custom post type for course lessons
- Create lesson custom fields (Headings, Content, Link)
- Assign the field group only to that post type
- Map custom fields into the Bricks template using dynamic data
- Populate template preview using a sample lesson post
Our Lesson Page Design (Template-Based Workflow)
The goal is to build one strong lesson layout once, then reuse it for every lesson. Instead of adding videos, headings, and lesson links manually, Bricks can pull content directly from your WordPress post fields.
That means every new lesson becomes simple:
- Create a new Video Class post
- Paste the video content (example: Presto Player embed) into the editor
- Fill in custom fields (Headings, Description, Link)
- Publish
Your lesson page updates automatically.
Custom Field Names Used in This Lesson
Here are the custom fields used in this example. These fields can be renamed to match your preferences, but the concept stays the same.
| Field Name | Type | Used For |
|---|---|---|
| head1 | Text | Main lesson heading |
| head2 | Text | Secondary lesson heading |
| content | Text Area | Lesson description or supporting text |
| link1 | Link | Button/link URL (external or internal) |
| link_text1 | Text | Button/link label text |
Step-by-Step: How to Build the Bricks Lesson Template + Custom Fields
Step 1: Save Your Lesson Page as a Bricks Template
Start by opening the lesson page you already built in Bricks Builder. This becomes the foundation for all future lessons.
Then:
- Right-click the page in Bricks
- Choose “Save as Template”
- Name it something like “Course Page Template”
- Save it as a single template
This lets you reuse the same lesson layout for every lesson post.
Step 2: Convert Your Video Area Into Dynamic Post Content
In your template, replace the video element with WordPress post content. This allows each lesson post to inject its own video embed (YouTube, Presto Player, Vimeo, etc.) directly through the editor.
This is a key idea:
- The video is stored in the post content
- The headings and other sections are stored as custom fields
Step 3: Create a Custom Post Type (Video Classes)
Next, create a custom post type called “Video Classes.” This is where each lesson post will live.
In your custom fields plugin (example: ACF):
- Create a new post type
- Name it “Video Classes”
- Use the slug “video-class” (or similar)
- Save your changes
Once saved, WordPress will show “Video Classes” in the sidebar.
Step 4: Create the Custom Fields (Field Group)
Create a new field group and add the lesson fields (head1, head2, content, link1, link_text1).
Then, most importantly, set the field group location rule so it only appears on your lesson post type:
- Show this field group if: Post Type is equal to Video Class
This keeps your admin clean and prevents these fields from showing up everywhere else.
Step 5: Create Your First Lesson Post
Now create a “Video Classes” post (example: “Video One”).
Inside that post:
- Add your video embed into the post editor content
- Publish the post
- Optionally fill in the custom fields
Even if you don’t fill in every custom field right away, publishing the post makes it available for template preview in Bricks.
Step 6: Preview Your Template Using Populate Content
Back in Bricks, preview your template using a real “Video Classes” post.
In Bricks:
- Click the gear icon
- Go to Templates
- Choose Populate Content
- Select a “Single post” preview
- Choose your sample Video Class post
This is the best way to confirm your dynamic data is working before going live.
Step 7: Map Custom Fields into Bricks Using Dynamic Data
Now connect your Bricks elements to your custom fields using dynamic data.
For each element (example: Heading 1):
- Click the dynamic data icon
- Select ACF (or your custom fields provider)
- Choose the field (example: head1)
Repeat this for:
- Head 1 → head1
- Head 2 → head2
- Text content → content
- Button label → link_text1
- Button URL → link1
Save the template and preview it again. You should now see a complete lesson page populated automatically from your post + custom fields.
Wrapping It Up
This workflow makes course creation dramatically faster. Instead of manually rebuilding lesson pages, you simply create new Video Class posts and fill out your fields.
Once your template is mapped correctly, your lesson system becomes easy to maintain, consistent, and scalable — which is exactly what you want when building a course platform in WordPress using Bricks Builder.
Lesson Overview
Main Points
√ Main Points
√ Save lesson page as reusable template
√ Set up custom post type
√ Define fields for titles and links
√ Map fields into your template
√ Use dynamic data for lessons