Common LearnDash Blocks/Shortcodes
Block

Shortcode

Description

LearnDash Profile

Displays basic user information (name, avatar, etc.), as well as total courses, course points, a list of enrolled courses, quiz results & certificates earned.

LearnDash User Course Points

Displays the user’s earned course points on any page.

LearnDash Course Progress

Displ
Displays a progress bar with the user’s progress for that course.

LearnDash Course List

Displays a list of courses. Many options are available to filter & customize the output. When the Course Grid is enabled, it will display courses in a grid layout.

LearnDash Lesson List

Lesson 2: Dashboard Overview: Courses, Lessons, & Topics

Lesson 2: How to Use the Course Builder to Add Lessons, Topics, and Quizzes

Lesson 3: How to Use the Course Creation Wizard

Lesson 1: How to Setup Registration and Payments

Lesson 3: How to Accept Payment for Your Courses

Lesson 1: How to Create Quizzes and Certificates

Lesson 4: Creating a Certificate Using the Certificate Builder

Similar to
but displays a list of lessons. Also works with the Course Grid.

LearnDash Topic List

Dashboard Overview: Quizzes, Questions, Certificates, & Groups

Dashboard Overview: Challenge Exams, Coupons, Assignments, Design, Reports, Add-ons, & Settings

Turn on Registration for Your WordPress Site

« ‹ › » page 1 / 2
Similar to
but displays a list of topics. Also works with the Course Grid.

LearnDash Quiz List

Similar to
but displays a list of quizzes. Also works with the Course Grid.

LearnDash Group List

Similar to
but displays a list of groups. Also works with the Course Grid.

LearnDash Course Content

Displays a complete list of lessons, topics & quizzes associated with that course.

LearnDash User Groups

Displays the list of groups users are assigned to, whether as users or leaders.

LearnDash Course Expire Status

Displays the expiration date of a course for the current user.

LearnDash Video

[ld_video] Displays a video anywhere within a lesson or topic page. You must be using video progression for this shortcode to work.

LearnDash Payment Buttons

Displays the payment button for a particular course, anywhere on the page.

LearnDash Course Info

Displays a list of registered courses, course progress details & all quizzes the user has taken.

LearnDash Login

Displays a login link that reveals the LearnDash login & registration pop-up modal when clicked.

LearnDash Certificate

Displays a download link of an earned certificate.

LearnDash Resume Course

Returns a user to the last step in the Course (format: link/button).

LearnDash Reset Password

Creates a password reset form for users to reset their passwords.

Conditionally Display Content
Show/Hide content for certain users or groups.

Block

Shortcode

LearnDash Visitor

Displays content if a user is NOT enrolled in a course. Requires a closing

LearnDash Student

LearnDash Course Not Started

LearnDash Course In Progress

LearnDash Course Complete

LearnDash Quiz Complete

LearnDash Group Message

Certificate Shortcodes
View our list of certificate shortcodes

The shortcode has a handful of options to display user information. Let’s take a look at each one.

– Displays a user’s first name – Displays a user’s last name – Displays a user’s full display name, which is often a combination of {first_name} and {last_name}. – Displays a user’s username – Displays a user’s nickname (might not be captured upon user signup) – Displays a user’s email address – Displays a user’s website address(likely not captured upon user signup) – Displays a user’s bio(likely not captured upon user signup) – Displays a user’s WordPress assigned unique user id (assigned chronologically by WordPress upon user registration)
The most common shortcodes you’ll use are and , as almost all certificates should include the student’s name.

NOTE: Not all of these values are collected when a student registers for or purchases a course. Different registration methods collect different info. Check with your ecommerce or checkout solution to see which fields are collected upon signup. You can also check this yourself by going to Users > All Users, and clicking on a user to edit their profile.

The shortcode should only be used for certificates assigned to a course. Let’s quickly define a few terms:

Aggregate refers to the sum of all quizzes assigned to the course
Cumulative refers to the average of all quizzes assigned to the course
Here are all the possible values:

– Displays the course title – Displays the course price (only for one-time payment courses) – Displays the Access Mode for the given course – Displays the course URL – Displays the total available points for the course – Displays the amount of points the user earned for the course – Displays the course enrollment date (this does not apply to OPEN courses) – Displays the date the course was completed – Displays the total time spent on a course – Displays the average score for all graded parts of the course – Displays the average points earned – Displays the average points earned – Displays the average percentage of all quizzes taken in the course – Displays the average time spent on each part of the course – Displays the final score received for the course – Displays the total points earned for the course – Displays the total points earned for the course – Displays the total percentage score for all quizzes taken as part of the course – Displays the total time spent on quizzes for the course as a whole
When using the completed_on parameter, you can also customize the date format. (See available date formats)

The shortcode should only be used for certificates assigned to a quiz. They will not work if used for a certificate assigned to a course. Here’s a list of all available options to output quiz information on a quiz certificate:

– Displays the score received for that quiz – Displays the number of questions within the quiz – Displays the score required in order to pass the quiz – Displays the day/time when the quiz was completed – Displays the points received by the user on the quiz – Displays the total possible points that can be received for a given attempt – Displays the percentage grade received by the user on the quiz – Displays the name of the quiz – Displays the name of the course that the quiz is associated with – Displays the time spent taking the quiz
Again, you can customize the date format when using the timestamp option.

The shortcode should only be used for certificates assigned to a group. They will not work if used for a certificate assigned to a course or a quiz. Here’s a list of all available options to output quiz information on a group certificate:

– Displays the group’s title – Displays the group’s URL – Displays the group’s Access Mode – Displays the group’s price – Displays the number of group enrollees – Displays the number of courses in the group – Displays the group progress status of the user – Displays the date the user enrolled into the group – Displays the date the user completed all courses assigned to the group – Displays the score achieved in the group’s courses
Again, you can customize the date format when using the timestamp option.