Shortcodes Reference

Get Started

Shortcodes

LearnDash Dashboard uses shortcodes to embed the dashboard and its components on any WordPress page. You can add a shortcode to a page using the block editor, the classic editor, or any page builder.


Main Dashboard

[ld_dashboard]

Displays the full dashboard with the sidebar navigation and all role-appropriate sections.

Place this shortcode on your designated dashboard page — the one you selected in LearnDash Dashboard > Page Mapping. Use it on one page only.

Example:

[ld_dashboard]

Visitors who are not logged in will see a login prompt instead of the dashboard.


Email Widget

[ld_email]

Displays an email composer that lets instructors and group leaders send messages to their students.

Students do not see this widget. You need to enable the email feature in LearnDash Dashboard > General Settings for this to work.

Example:

[ld_email]

Instructor Registration Form

[ld<em>instructor</em>registration]

Displays a form that lets users apply to become an instructor on your site.

When someone submits the form, their application goes into a pending queue. You’ll receive an email notification. Approve or reject applications from LearnDash Dashboard > Instructor Settings. Approved applicants are automatically granted the Instructor role.

Example:

[ld_instructor_registration]

Place this on a public page — for example, a “Become an Instructor” page on your site.


Student Progress Report

[ld<em>student</em>details]

Displays a detailed progress report for an individual student, including their course progress, quiz results, and completion status.

This is visible to admins, instructors, and group leaders only. Instructors reach this page by clicking a student’s name in their My Students section.

Example:

[ld_student_details]

Create a dedicated page for this shortcode and assign it in LearnDash Dashboard > Page Mapping so the dashboard can link to it correctly.


Instructor Directory

[ld<em>dashboard</em>instructors_list]

Displays a searchable, paginated directory of all instructors on your site.

Each instructor card shows their photo, name, number of courses, and review rating (if course reviews are enabled). Visitors can click an instructor’s card to view their profile.

Options:

OptionDefaultWhat it does
col4Number of columns in the grid layout

Examples:

[ld_dashboard_instructors_list]
[ld_dashboard_instructors_list col="3"]

Set up an instructors directory page in LearnDash Dashboard > Page Mapping so profile links work correctly.


Zoom Meeting Shortcodes

These three shortcodes are for sites using the Zoom Meetings feature. You need an active Zoom account with API credentials configured in LearnDash Dashboard > Integrations. If Zoom is not enabled, these shortcodes display nothing.

[ld<em>dashboard</em>meeting]

Shows the join interface for a specific Zoom meeting.

OptionDescription
idThe ID of the meeting you want to display
titleAn optional heading shown above the meeting details

Example:

[ld_dashboard_meeting id="123"]

[ld<em>dashboard</em>meeting_single]

Shows full details for a single Zoom meeting on its own dedicated page.

OptionDescription
idThe ID of the meeting
titleAn optional heading

Example:

[ld_dashboard_meeting_single id="123"]

[ld<em>dashboard</em>meeting_embed]

Embeds a Zoom meeting directly in the page so participants can join without leaving your site.

OptionDefaultDescription
meeting_idYour Zoom meeting ID number
height500pxThe height of the meeting window

Example:

[ld_dashboard_meeting_embed meeting_id="123456789"]
[ld_dashboard_meeting_embed meeting_id="123456789" height="700px"]

Enrollment Code Redemption

[ld<em>enrollment</em>code_redeem]

Displays a form where students can enter an enrollment code to gain instant access to a course or group.

Only logged-in users see this form. Logged-out visitors see nothing.

Example:

[ld_enrollment_code_redeem]

Place this on a dedicated page — for example, “Redeem Your Code” — and link to it from your emails or course catalog.

Generate enrollment codes from the Bulk Management section or the Groups section of the dashboard.

Last updated: March 4, 2026