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
DisplDisplays a progress bar with the user’s progress for that course.
LearnDash Course List
Course II
this is a short description
Course 1
Get started with LearnDash in this course.
LearnDash Lesson List
Lesson 1 on section A on Course II
Lesson 1: Getting Started with LearnDash
Lesson 2: Dashboard Overview: Courses, Lessons, & Topics
Lesson 3: General Settings Overview
Lesson 1: How to Build Your First Course
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 2: How to Set Up Course Registration
Lesson 3: How to Accept Payment for Your Courses
Lesson 4: How to Create Coupons
Lesson 5: How to Create Memberships
Lesson 1: How to Create Quizzes and Certificates
Lesson 2: How to Set Up Quizzes
Lesson 3: Quiz Access Settings
Lesson 4: Creating a Certificate Using the Certificate Builder
Lesson 1: How to Do More with LearnDash
Lesson 2: Add-ons
Lesson 3: Guides & Tutorials
Lesson 4: Support & Community
Course II
this is a short description
Course 1
Get started with LearnDash in this course.
LearnDash Topic List
Topic 1
Dashboard Overview: Quizzes, Questions, Certificates, & Groups
Dashboard Overview: Challenge Exams, Coupons, Assignments, Design, Reports, Add-ons, & Settings
Course Settings Overview
Add Content to Your Lessons & Topics
Lesson Settings Overview
Pages Needed for Registration
Setting Up the Registration Success Page
Setting Up the Reset Password Page
Customize the Registration Settings
Turn on Registration for Your WordPress Site
Registration Flow for Free Courses
Registration Flow for Paid Courses
PayPal Settings
Stripe Connect
Other Payment Gateways
How New Users Redeem Coupons
How Existing Users Redeem Coupons
Setting Up the Registration Page
Progression & Restriction Settings
Course II
this is a short description
Course 1
Get started with LearnDash in this course.
LearnDash Quiz List
Quize 1
Course II
this is a short description
Course 1
Get started with LearnDash in this course.
LearnDash Group List
Course II
this is a short description
Course 1
Get started with LearnDash in this course.
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
Forgot Password
Conditionally Display Content
Show/Hide content for certain users or groups.
Block
Shortcode
LearnDash Visitor
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:
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.