Is there a shortcode for displaying a single lesson in LearnDash?

Unfortunately, LearnDash doesn’t have a built-in shortcode specifically designed to display a single lesson directly. However, you can easily create a direct link to the lesson by using its permalink. Simply copy the URL from the address bar while viewing the lesson, and then place this link on any page or post you like.


Alternatively, if you want to showcase a specific lesson, you can utilize lesson tags or categories with the [ld_lesson_list] shortcode. Here are some examples:

  • Show lessons with a specific tag:[ld_lesson_list tag=”science”]
  • Show lessons with a specified tag ID:[ld_lesson_list tag_id=”40″]
  • Show lessons with a specific category ID:[ld_lesson_list cat=”5″]
  • Show lessons with a specified category slug:[ld_lesson_list category_name=”science”]

To manage your WordPress and LearnDash categories and tags, follow these steps:

  1. Navigate to LEARNDASH LMS > LESSONS.
  2. Select the Actions dropdown menu.
Manage LearnDash Categories and Tags
Manage LearnDash Categories and Tags

Choose your desired option to add, edit, or delete categories and tags.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.