LMS & eLearning

All LearnDash Elementor Widgets Explained

Every widget in the LearnDash Elementor add-on 1.0.9.1, the shortcode each one wraps, its settings and preview controls, where it belongs, and which widgets are hidden for learners who have not reached a step.

All LearnDash Elementor Widgets Explained

The LearnDash Elementor add-on registers 13 widgets under a "LearnDash" category in the Elementor panel. Each one is a wrapper around a LearnDash shortcode: the widget's controls become shortcode attributes, the string is run through do_shortcode(), and Elementor style controls are layered on top. Knowing which shortcode sits behind a widget tells you exactly what it can and cannot show, because a widget cannot exceed its shortcode. This reference lists every widget in version 1.0.9.1 with its shortcode, settings, preview behaviour and the places it makes sense.

How preview controls work

Widgets that depend on a course, step or user have preview controls that affect only the editor. If you choose a preview post it is used; otherwise the add-on applies the learndash_elementor_widget_preview_id filter, verifies the result is a post of the right type, and falls back to the first published post of that type through learndash_get_single_post(). On the front end the current post and logged-in user always win. Preview user pickers let you see the enrolled or completed state while designing.

Course and step display widgets

Course Infobar

Wraps [ld_course_infobar]. In a course template it shows status, price, the Get Started button and, for enrolled users, progress. In a lesson, topic or quiz template its title changes to Lesson, Topic or Quiz Infobar and it shows breadcrumbs and the step status bubble. Settings: preview step or course, preview user and a toggle for the enrolled state. Style sections: Backgrounds for the not-enrolled and enrolled bars, Not Enrolled Current Status, Price and Get Started sections, Enrolled Progress (indicator, percent complete and steps complete text) and Breadcrumbs.

Course Content (Lesson, Topic Content)

Wraps [course_content]. On a course it renders the heading, expand-all button and the lesson, topic and quiz table; on a lesson it renders topics, quizzes, assignments, the progression message and the course steps module with Mark Complete and navigation; on a topic, quizzes and the same footer. Settings: preview step and user. Style sections cover the header, expand buttons, row items, lesson progress text, footer links, navigation and the Mark Complete button. This is the widget a step template cannot do without.

Course Certificate

Wraps [ld_course_certificate]. Shows an alert with a download button once the course certificate is earned, nothing otherwise. Settings: Button Label, Message, preview course and user. Style: background and border, title, icon and download button. It is hidden on steps the learner has not reached, so it is safe near the top of a course template.

Course Progress

Wraps [learndash_course_progress] with course ID and user ID settings. Renders the progress bar and percentage for one course. Hidden on unreached steps.

Video Progress

Wraps [ld_video] with no settings. Renders the video progression player for the current lesson or topic. The lesson and topic documents already add the player to the Post Content output, so use this widget only when you deliberately move the video elsewhere and accept that the automatic insertion still runs. Hidden on unreached steps.

List widgets

Course List

Wraps [ld_course_list]. Settings: per page, Order by, Order, my courses, status, and a Grid Settings section with Show Grid, Show Progress Bar and Columns when the Course Grid add-on is active. A taxonomies section adds LearnDash course category and tag filters, a course category selector, and WordPress category and tag filters with their own selector toggle. Style: row item title and background. Use it for catalog sections on landing pages; for a filterable catalog the dedicated Course Grid add-on offers more.

Lesson List, Topic List, Quiz List

Wrap [ld_lesson_list], [ld_topic_list] and [ld_quiz_list] with the same ordering, taxonomy and grid controls as the Course List, minus options that do not apply. Version 1.0.3 removed the Show Progress Bar option from these three. They list steps across the site filtered by course, lesson or taxonomy, which suits sidebars and resource pages more than step templates.

User and commerce widgets

LearnDash Login

Wraps [learndash_login]. Settings: preview login or logout status, then Login Settings (URL, label, icon placement, displayed as button or link) and matching Logout Settings. Style: colors and backgrounds for the login and logout states. It opens the LD30 login modal when LearnDash's login and registration setting is on, which is what makes it useful in headers.

Payment Buttons

Wraps [learndash_payment_buttons] with a single course ID setting. Renders the enroll or buy buttons for the course, respecting the course access mode and hiding for enrolled users. Our comparison of course access modes explains which modes show a button.

Profile

Wraps [ld_profile]. Settings: per page, Order by, Order, Show Search, Show Profile Header, course points, Show Profile Link, show quizzes and expand all. Style sections for the header (background, avatar size, summary typography), row items and row item details including progress bar color. It is the standard building block for a "My courses" page.

Quiz Content

Wraps [ld_quiz] with Quiz and Course ID settings and preview pickers. Renders the full quiz. Style covers the Start button only.

Widgets hidden on unreached steps

On singular LearnDash posts the add-on filters widget output when the previous step is incomplete. The allowed list, filterable through learndash_elementor_not_completed_step_allowed_widgets, contains the infobar, Course Content, the four list widgets, Login, Payment Buttons, Profile and Quiz Content. Course Certificate, Course Progress and Video Progress are not on it and render empty until the learner is allowed to be on that step. Standard Elementor widgets are also blanked by this filter, which is a point to remember when a heading in a lesson template seems to vanish for some learners; it is covered in how Elementor templates respect LearnDash access rules.

Picking the right widget

  • Course sales page: Course Infobar, Course Content, Payment Buttons, Course Certificate.
  • Lesson and topic pages: Course Infobar, Post Content, Course Content.
  • Quiz pages: Course Infobar, Post Content, Quiz Content.
  • Dashboard page: Profile, Course List with my courses on, LearnDash Login.
  • Catalog page: Course List, or the Course Grid shortcode in an Elementor shortcode widget.

Anything not covered here, such as a group list, assignment list or a widget that pulls custom fields from the course, is a custom Elementor widget, which is a few hours of work when it wraps an existing shortcode. Our LearnDash development team builds those alongside templates; see our LearnDash services or speak with a LearnDash developer.

Frequently asked questions

Can I use the LearnDash shortcodes directly instead of the widgets?

Yes. A shortcode in an Elementor Text Editor or Shortcode widget renders the same output. The widgets add style controls and editor previews, and the auto-insertion logic recognises either form.

Why is a widget empty in the editor?

Its preview post is not set and the first published post of that type has no data to show, or you are previewing as a user who is not enrolled. Set the preview course and user controls.

Which widget shows the Mark Complete button?

Course Content, when placed in a lesson or topic template. There is no separate Mark Complete widget.

Is there a widget for groups or the group leader dashboard?

No. Use the LearnDash group shortcodes in a Shortcode widget, or build a small custom widget around them.

Add WorldWin Coder to your preferred sources

Add worldwincoder.com as a preferred source on Google, or open this article in your AI assistant to use it as a source.

· Developers and project managers

Articles written and reviewed by the developers and project managers at WorldWin Coder, who build and maintain websites, web applications and mobile apps on WordPress, Moodle, PHP, Laravel, CodeIgniter and Flutter.

Keep reading

Have something to build, fix or move?

Tell us where you are. A developer reads every inquiry, and you get next steps and a free quote within one business day.