Shortcodes

Common LearnDash Blocks/Shortcodes

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.


[ld_profile]


LearnDash User Course Points
Displays the earned course points, for that user, on any page.


[ld_user_course_points]


LearnDash Course Progress Displays a progress bar with the user’s progress for that course.


[learndash_course_progress]


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


[ld_course_list orderby=”title”]


LearnDash Lesson List Similar to but displays a list of lessons. Also works with the Course Grid add-on.


[ld_lesson_list orderby=”title”]


LearnDash Topic List but displays a list of topics. Also works with the Course Grid add-on.


[ld_topic_list orderby=”title”]


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


[course_content orderby=”title”]


LearnDash Quiz List [ld_quiz_list] Similar to [ld_course_list] but displays a list of quizzes. Also works with the Course Grid add-on.

LearnDash User Groups [user_groups] Displays the list of groups users are assigned to as either users or leaders.
LearnDash Course Expire Status [ld_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 [learndash_payment_buttons] Displays the payment button for a particular course, anywhere on the page.
LearnDash Course Info [ld_course_info] Displays a list of registered courses, course progress details & all quizzes the user has taken.
LearnDash Login [learndash_login] Displays a login link that reveals the LearnDash login & registration pop-up modal when clicked.
LearnDash Certificate [ld_certificate] Displays a download link of an earned certificate.
LearnDash Resume Course [ld_course_resume] Returns a user to the last step in the Course (format: link/button).
Conditionally Display Content
Show/Hide content for certain users or groups
LearnDash Visitor [visitor] Displays content if a user is NOT enrolled in a course. Requires a closing [/visitor] tag.
LearnDash Student [student] Displays content if a user IS enrolled in a course. Can also be used to display content to individual users (based on user id). Requires a closing [/student] tag.
LearnDash Course Not Started [course_notstarted] Displays content if a user has access to a course, but has not completed any steps. Requires a closing [/course_notstarted] tag.
LearnDash Course In Progress [course_inprogress] Displays content if a user has access to a course, has completed at least one step, but has not finished the entire course. Requires a closing [/course_inprogress] tag.
LearnDash Course Complete [course_complete] Displays content if a user has fully completed a course. Requires a closing [/course_complete] tag.
LearnDash Quiz Complete [ld_quiz_complete] Displays content if a user has completed a quiz. Requires a closing [/ld_quiz_complete] tag.
Certificate Shortcodes
View our list of certificate shortcodes »

Print Friendly, PDF & Email