Skip to content
LearnDash Support
  • Products

      LearnDash LMS Plugin

      Powering intuitive online courses with advanced management and engagement features for WordPress.

      Learn More

      LearnDash LMS Plugin + Hosting

      StellarSites Learning is a fully managed hosting solution for WordPress.

      Learn More

      Premium LMS Add-ons
      Enhance your courses with extra features. Gather insights, reward learners, protect your course content, and more!

      Explore all Add-ons

      MemberDash
      The most flexible membership plugin for WordPress. Monetize your content and build a community.

      View MemberDash

  • Pricing
  • Add-ons & Integrations

      LEARNDASH ADD-ONS

      Image

      Instructor Role

      Empower Instructor to manage courses.

      Image

      Groups Management

      Organization management, delegation and more

      Image

      ProPanel

      Advanced analytics reporting.

      Image

      Gradebook

      Track progress and create report cards.

      Image

      Notes

      Enable notetaking and two-way communication.

      Image

      Rating, Reviews, & Feedback

      Build trust and gain valuable insights.

      FEATURED INTEGRATIONS

      Image

      The Events Calendar

      Connect with the most popular events solution.

      Image

      BuddyBoss

      Powerful tools for an enhance learning experience.

      Image

      WooCommerce

      The most popular shopping cart on WordPress.

      Image

      WeGlot

      Translate your LearnDash content.

      All Integrations

      BUNDLES

      Package and save
      Save when you buy multiple plugins in a bundle.

      See all bundles.

      MORE

      Release Notes

      Get Help

  • Resources
      Image
      LearnDash Academy Videos, webinars, and resources to help you launch a successful course.
      Image
      Blog Blog
articles with the latest news and tips to help you run high-quality courses.
      Image
      Knowledge Base A support network to help you make the most of your courses.
      Image
      Release Notes Stay up-to-date with the latest updates to LearnDash.
      Image
      Get Help

      Professional Services

      LMS Site Development Get hands-on assistance launching your course website.
      Website Maintenance WordPress management made easy.
      SEO Services SEO solutions that accelerate growth.

      Other Resources

      LearnDash Accessibility At LearnDash, we believe online learning should be accessible to everyone.
      Join the Dev Club
  • Demo
  • Sign In
Get LearnDash

Knowledge Bases: Support Home | LearnDash Core | LearnDash Add-ons | LearnDash Cloud | Resources | Mobile App

LearnDash Support
  • ← Return to LearnDash
  • Support
    • Support Home
    • All Knowledge Bases
    • LearnDash Core
    • Add-ons
    • Resources
    • Cloud
  • My Account
Popular searches: api duplicate couse email gp query loop [ld_course_resume]

Getting Started with LearnDash

13
  • Setting Up Your First Course with LearnDash
  • Getting Started
  • LearnDash Overview
  • Technical Requirements
  • The Onboarding Wizard
  • Installation
  • LearnDash Core
  • Orders
  • Shortcodes and Blocks
  • Coupons
  • How to Use the Design Wizard
  • The Design Wizard
  • Style Customizer

Courses

14
  • Course Grid
  • Course Enrollment Mode Settings
  • Course Builder
  • Courses
  • Shared Course Steps
  • Course Display & Content Settings
  • Course Sections
  • Course Progression
  • Course Page
  • Course Create Wizard
  • Course Outline Builder
  • Pre-Selling
  • Course Dashboard
  • Course Completion Page

Lessons

9
  • Video Progression
  • Global Lesson Settings
  • Lesson Access Settings
  • Lessons
  • Lesson Display and Content Settings
  • Lesson Page Content
  • Sample (Free) Lessons
  • Lesson Access Settings
  • Blended Learning

Topics

5
  • Topics
  • Global Topic Settings
  • Topic Display and Content Settings
  • Topic Page Content
  • Topic Display & Content Settings

Quizzes

12
  • XML Quiz Import/Export Guide
  • Global Quiz Settings
  • Quiz Builder
  • Quizzes
  • Quiz Display & Content Settings
  • Quiz Results Display
  • Quiz Custom Fields
  • Quiz Leaderboard
  • Quiz Email Notifications
  • Manage & Grade Essays
  • Quiz AI Builder
  • Quiz Access & Progression

Questions

1
  • Quiz Questions

Certificates

3
  • Certificates
  • Create a Certificate
  • Certificate Shortcodes

Groups

11
  • Group Administration
  • User Groups
  • Global Group Settings
  • Group Page
  • Group Display and Content Settings
  • Group Access Settings
  • Group Courses
  • Group Users and Group Leaders
  • Publishing and Viewing a Group
  • Group Leader Capabilities
  • Group Cohorts

Challenge Exams

1
  • Challenge Exams

Assignments

4
  • Assignments
  • Global Assignment Settings
  • Manage Assignments
  • Enable Assignments

Reports

3
  • SCORM and xAPI
  • Reporting
  • How to disable core reports

Settings

17
  • Custom Labels
  • PayPal Checkout
  • Global Course Settings
  • Login and Registration
  • Settings
  • PayPal Settings
  • Stripe Integration
  • Permalinks (URLs)
  • General Settings
  • Focus Mode
  • Payments
  • Advanced Options
  • Emails – LearnDash General Settings for Notifications and Senders
  • Razorpay Integration
  • Cloning
  • Experiments
  • Payments
    • PayPal Checkout

Users

5
  • Users and Groups
  • User Data
  • User Management
  • User Profiles
  • Extend Access

Design

1
  • Widgets
View Categories
  • Home
  • All Knowledge Bases
  • LearnDash Core
  • Lessons
  • Sample (Free) Lessons

Sample (Free) Lessons

The LearnDash sample lesson feature makes it possible for people to view some of your course content without having to enroll into the course. When a user clicks on a sample lesson they can view that content without needing to log into an account, or having to enroll into the course. You can have an unlimited number of sample lessons for your course. You can have sample lessons for both free and paid courses.

NOTE
See the Lessons Documentation for complete details on creating lessons and an explanation of all the lesson settings.

Sample Lesson Settings #

The only requirement for using the sample lesson feature is that your course Access Mode is set to anything but “Open”. Then, designating a lesson as a sample lesson requires configuring just one setting.

  1. From the WordPress dashboard, navigate to LearnDash LMS > Lessons
  2. Select the desired lesson and click Edit
  3. Click Settings
  4. Scroll down to Lesson Access Settings
  5. Toggle on the Sample Lesson option
  6. Click Update
Image

The User Experience #

Image

When a visitor views the course content table, the sample lesson(s) will be indicated by a “Sample Lesson” label. When the lesson is clicked, visitors are immediately taken to the lesson content. It is not possible to mark a sample lesson as complete. To do so, a visitor will need to have an account and be enrolled into the course.

NOTE
If a sample lesson includes topics and/or quizzes, then those too are marked as samples and can be viewed.

Demo #

The following is a demonstration of a sample lesson that is on the LearnDash demo site. In it you can see that the first lesson is the sample lesson. The other lessons are not accessible and therefore provide a tooltip indicating that enrollment is required.

Image

Require Log-in to View Sample Lessons #

While not currently a setting available within LearnDash, it is possible to configure your sample lessons so that they can only be viewed by visitors who have an account and are logged-in by using a free plugin.

  1. From the WordPress dashboard, go to Plugins > Add New
  2. Search for Restrict Content
    Image
  3. Click Install Now, then click Activate

Now that the Restrict Content plugin is installed, you need to configure a message to display when someone attempts to access the sample lesson without being logged-in.

  1. From the WordPress dashboard, navigate to Settings > Restrict Content
  2. Add your desired message into the Subscribers field
  3. Click Save Options

The final step is to protect your sample lesson(s) for WordPress Subscriber roles only so that the above message displays to those who are not yet logged-in.

  1. From the WordPress dashboard, navigate to LearnDash LMS > Lessons
  2. Select the desired lesson and click Edit
  3. Scroll down until you locate the Restrict this content settings
  4. Click Update
  5. From the User Level dropdown menu, select Subscriber

The configuration is complete and your sample lesson is now protected. This means that the content can only be viewed by someone who has an account and is logged-in. If they are not logged-in, then they will be presented with the message you entered into the Restricted Content settings.

Sample Lessons Use-Cases #

  • You want to entice prospective customers to purchase a course by offering the first lesson for free
  • You want to capture email addresses (leads) of people interested in your course
  • You want to offer the entire course for free without requiring an account, but want to sell access to the final exam

FAQ #

Can I mark a lesson as a sample but prevent access to the topics? #

No. Topics associated with the lesson adopt the sample lesson parameter are visible as well.

Updated on November 21, 2024
Lesson Page ContentLesson Access Settings
Table of Contents
  • Sample Lesson Settings
  • The User Experience
    • Demo
  • Require Log-in to View Sample Lessons
  • Sample Lessons Use-Cases
  • FAQ
    • Can I mark a lesson as a sample but prevent access to the topics?

Was this Doc Useful?

Thanks for your feedback!

Products

  • LearnDash LMS Plugin
  • MemberDash Plugin
  • LearnDash Cloud
  • ProPanel
  • Groups Management
  • Gradebook
  • Notes
  • Integrations

Support

  • Contact Us
  • Experts
  • Documentation
  • Facebook Community

Company

  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
  • Refund Policy

Our Partners

  • The Events Calendar
  • MemberDash
  • Kadence
  • GiveWP
  • Iconic
  • SolidWP

Stay Connected Subscribe to our newsletter
  • YouTube
  • X
  • Facebook
  • Instagram

Copyright 2025. All Rights Reserved.

A Liquid Web Brand
WordPress Hosting Services
© 2025 All Rights Reserved

StellarWP
liquidweb
Advertisement