Building Lesson and Topic Templates With LearnDash Elementor Widgets
How to build Single Lesson and Single Topic templates in Elementor Pro for LearnDash: the widgets that render step content, Mark Complete and navigation, what the add-on adds through the_content, and tests to run.

Lesson and topic pages are where learners spend their time, and they carry more moving parts than a course page: the step content, a video that may gate progression, assignments, the topic or quiz list, the Mark Complete button and the previous and next navigation. A Single Lesson template in Elementor Pro has to produce all of that from widgets, and the LearnDash Elementor add-on makes it possible by routing the step through its own content filter. This guide builds lesson and topic templates, explains which widget supplies each part, and shows where the add-on does work you cannot see in the editor.
Lessons and topics are nearly identical
The add-on registers Single Lesson and Single Topic documents separately, but both run the same logic and the imported starter templates are the same layout: a dynamic Post Title, a Course Infobar widget (titled Lesson Infobar or Topic Infobar in the panel), Elementor Pro's Post Content widget and a Course Content widget (titled Lesson Content or Topic Content). Build the lesson template first, save it as a template, and create the topic document from it. The only practical difference is that a lesson's content widget lists topics and quizzes while a topic's lists only its quizzes.
What each widget provides
Lesson or Topic Infobar
Inside a step template the infobar widget renders the step variant of [ld_course_infobar]: breadcrumbs back to the course and lesson, the step status bubble (not completed, in progress, completed) and, when the lesson is dripped, the available date. The Style tab has a Breadcrumbs section for text and arrow colors and controls for the status bubble. A preview step ID in the widget shows a real lesson while editing.
Post Content
The Post Content widget outputs the lesson body, and it is the point where the add-on injects everything that depends on access. When the document applies, the add-on filters the_content: if the learner may see the step it records the step start in the activity log, prepends the video progression player when the lesson has one, and attaches the Materials according to the document's Materials Display setting. If the learner may not see it, the content is emptied and the progression message explains why. Never remove this widget from a lesson template; without it the video and materials have nowhere to go.
Lesson or Topic Content
This widget renders [course_content] in step context. For a lesson it produces the topic list, the lesson quizzes, the assignment upload and listing when assignments are enabled, the progression message and then the course steps module containing the Mark Complete button and previous and next links. For a topic it produces the topic quizzes and the same footer. The Mark Complete button is only rendered when LearnDash's can-complete check passes, which requires the user to be logged in and every quiz attached to the step to be complete; the add-on applies the learndash-lesson-can-complete filter so you can adjust that.
The video player
Video progression is handled by the add-on, not by a widget you place. When the lesson has Video Progression enabled, the player is added to the Post Content output through LearnDash's own video class, with the same autostart, controls and "mark complete after video" behaviour as a non-Elementor lesson. The Video Progress widget, which wraps [ld_video], exists for layouts that want the player somewhere else, but do not add both, or the video appears twice. Version 1.0.9 of the add-on fixed exactly that duplication for the bundled templates. Our dedicated guide on video progression in Elementor lesson templates covers the edge cases, and the video progression options themselves are explained separately.
Assignments
If the lesson requires an assignment upload, the Lesson Content widget renders the upload form and the list of submitted assignments, wrapped in the learndash-lesson-assignment-before and learndash-lesson-assignment-after actions, and the Mark Complete button is replaced by the upload flow until the assignment is approved. Nothing extra is needed in the template, but test it: a template that omits the content widget silently loses the upload form.
Materials Display
Each document has its own Materials Display setting (tabs, append to bottom, not displayed). Set it on the lesson and topic documents separately; the imported starters use append. With tabs, the Post Content widget renders the LD30 tab bar around the lesson body. With append, materials follow the body. Keep this consistent across the three step types so learners are not hunting for downloads in a different place on each page.
What the add-on hides from learners who are not ready
Two mechanisms protect progression. First, the content filter above empties the lesson body when the previous step is not complete or the lesson is not yet available. Second, the add-on filters Elementor's widget rendering on singular LearnDash posts: when the previous step is incomplete, any widget not on the allowed list renders empty. The default allowed list includes the infobar, content, list, login, payment, profile and quiz widgets, so a certificate widget, a progress widget or a video widget you placed in the template will not show early. Administrators who can bypass progression see everything, which is why you should always test with a learner account. The full set of checks is in how Elementor templates respect LearnDash access rules.
Sidebars and course navigation
The LD30 Focus Mode sidebar with the full course outline is not a widget. If your design wants a persistent outline next to the lesson, use the Course Content widget a second time in a sidebar column with the preview step set, or place a Topic List or Lesson List widget filtered to the current course. Both are shortcode wrappers and respect enrollment. Many sites instead keep Focus Mode for the learning experience and reserve Elementor for the course sales page, which is the trade-off discussed in Focus Mode and the Elementor add-on.
Conditions and publishing
Publish the lesson document with Include > Lessons > All and the topic document with Include > Topics > All. Shared course steps, where one lesson belongs to several courses, work normally because the add-on derives the course from the current URL as LearnDash does. Lessons without a course still render their content; version 1.0.7 fixed the earlier behaviour that blanked them.
Testing checklist
- Open a lesson as a learner who has completed the previous lesson: body, video, topic list and Mark Complete all present.
- Open the next lesson as the same learner: body empty with the progression message, infobar still showing breadcrumbs.
- Open a dripped lesson before its date: the available-on message appears, no Mark Complete.
- Complete a lesson with a quiz attached: Mark Complete should not appear until the quiz is passed.
- Repeat the first test on a topic.
If Mark Complete never appears or the quiz does not load, the causes and fixes are collected in fixing Elementor templates that break Mark Complete and quizzes. For templates that need custom progress displays, instructor notes or group-specific content, our LearnDash services team builds them on this add-on; a LearnDash developer can also audit an existing template in a short session.
Frequently asked questions
Do I need separate templates for lessons and topics?
Yes, because they are separate document types with separate conditions, but the layouts can be identical. Build one, save it, and import it into the other.
Where does the Mark Complete button come from in an Elementor lesson?
From the Lesson Content (or Topic Content) widget, which renders the course steps module after the step's lists. If the widget is missing from the template, there is no button.
Can I use the Elementor Video widget instead of LearnDash video progression?
You can embed a video with it, but it will not track completion or hold the Mark Complete button until the video ends. Use LearnDash's Video Progression setting on the lesson and let the add-on add the player.
Why does the lesson show for me but not for students?
Administrators bypass progression and prerequisite checks when the bypass setting is on. Test with a subscriber account enrolled in the course.
Add worldwincoder.com as a preferred source on Google, or open this article in your AI assistant to use it as a source.
