5.5 How Themer Layouts Apply
Understanding how Beaver Themer layouts are assigned to LearnDash pages is fundamental to working with BeaverDash. Most BeaverDash modules and field connections are designed for use inside these layouts.
What a Themer layout is
A Beaver Themer layout is a template that Beaver Builder applies automatically to a set of pages. You build the template once and it renders on every page that matches the assigned location.
For LearnDash, the relevant locations are:
- LearnDash > Courses — every course page
- LearnDash > Lessons — every lesson page
- LearnDash > Topics — every topic page
- LearnDash > Quizzes — every quiz page
When a learner visits a lesson, Beaver Themer finds the layout assigned to LearnDash > Lessons and renders it. BeaverDash modules and field connections inside that layout pull data from whichever lesson is being viewed.
Why this matters for BeaverDash
BeaverDash field connections (the [wpbb] connections) only resolve inside Beaver Themer layouts. On a regular Beaver Builder page, they produce no output.
BeaverDash modules work on both regular pages and Themer layouts, but they are most useful in Themer layouts where they can adapt to whichever course or lesson the learner is viewing. Placing a Course Navigation module on a regular page always shows the same course; placing it on a Themer course layout shows the navigation for whichever course the page is about.
Setting up a layout
In your WordPress admin, go to Beaver Builder > Themer Layouts > Add New. Set the type to Singular and assign the location to the LearnDash content type you want to template. Then open the layout in Beaver Builder and build your design.
For a step-by-step walkthrough, see How to Build a Course Template.