Skip to content

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.


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.


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]

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.


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.


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:

Option Default What it does
col 4 Number 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.


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.

Shows the join interface for a specific Zoom meeting.

Option Description
id The ID of the meeting you want to display
title An optional heading shown above the meeting details

Example:

[ld_dashboard_meeting id="123"]

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

Option Description
id The ID of the meeting
title An optional heading

Example:

[ld_dashboard_meeting_single id="123"]

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

Option Default Description
meeting_id Your Zoom meeting ID number
height 500px The height of the meeting window

Example:

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

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.