Sample Lesson Label


The Sample Lesson Label module, part of the Pro Suite of modules for the Uncanny LearnDash Toolkit, lets you add and customize labels for sample lessons.

LearnDash’s sample lesson feature lets you provide users with a preview of course materials without giving them access to the entire course:sample_lesson


But typically, sample lessons are only identifiable by the fact that the lesson title is a hyperlink, which may be very subtle:



Enabling this module adds a prominent label to sample lessons:


You can customize the text as well as colors of the label in the module’s Settings window:

Sample lesson label module settings


4 replies
  1. Matthew Edward Pohl
    Matthew Edward Pohl says:

    I have tried to implement this feature but it is not showing the word Sample like in your posting.

    Instead, it shows a check mark that is colored based on the settings in Uncanny Owl’s Sample Lesson Label module.

    • Ken Young
      Ken Young says:

      Hi Matthew, just wanted to follow up here as well for the benefit of others that might be experiencing the same issues. The CSS for the sample functionality was conflicting with the CSS in the University theme, which applies custom styling to LearnDash. We don’t typically provide support for theme conflicts, but here’s some CSS that should fix that issue:

      @media (min-width:769px) {
      .learndash .is_sample h4 .notcompleted:after {
      content: 'Sneak Peek';
      float: right;
      font-size: 14px;
      background-color: #dd9933;
      border-radius: 4px;
      color: #ffffff;
      font-weight: 400;
      line-height: 1.2;
      padding: 3px 10px;
      margin-top: -2px;
      text-transform: initial;
      border: 1px solid #dcdcdc;
      font-family: inherit;

  2. Alfonso Moreno
    Alfonso Moreno says:

    I am having the exact same issue but I have a clean WordPress installation, no theme install, nothing. Just learndash and Uncanny ToolKit pro. I can’t see the SAMPLE text, everything is set up as explained.

    This functionality does not work out of the box as specified. Could you please tell me how to make it work?
    Thanks a lot

    • Ryan
      Ryan says:

      Hi Alfonso, for any site-specific issues we encourage you to log a support ticket, as we can’t provide the same level of support through the Knowledge Base. It definitely should work out of the box, and although you mention no third-party theme, it would be helpful to know what theme you are using. If the course is closed, you have a lesson set up as a sample, it’s a default theme like Twenty Seventeen and you’re still having issues, please do log a support ticket and we’ll be happy to take a closer look for you.



Please note that this is not a support forum. If you are experiencing issues on your site, please open a support ticket instead. Site-specific support questions submitted as comments will be unanswered.

Leave a Reply

Your email address will not be published. Required fields are marked *