LDX Design

LearnDash Design & Tutorials

LearnDash Design & Tutorials

How to Enable Comments for LearnDash

With LearnDash, one of the easiest ways to encourage discussion amongst your students, as well as the instructor, is to use native WordPress comments. There are forum plugins and third-party live chat solutions, but using comments is a quick & simple way to allow for discussion to take place within your LearnDash courses.

There are a few steps to ensure comments are enabled for LearnDash. Let’s walk through each one.

1. Enable Comments in WordPress

First, you’ll want to make sure the default WordPress commenting system is enabled.

Globally

This should be enabled by default, but it might have been turned off. Any changes you make to this setting will only work for future content that you create. It does not change the setting of any individual lesson, topic or quiz already created.

Globally allow WordPress comments

  1. Navigate to Settings > Discussion
  2. In the Default post settings section, check the box for “Allow people to submit comments on new posts”
  3. Click Save Changes at the bottom

This will ensure that all future content you create will have comments turned on by default.

You see it says “These settings may be overridden for individual posts.” You can turn on/off commenting for specific lessons/topics/quizzes. You’ll want to double-check your individual content settings as well, to make sure comments are turned on.

NOTE
Before you leave this page, feel free to peruse the other discussion settings, and update anything you’d like. We’re not going to cover all the commenting options in this article.

If you don’t want all future content to include comments, feel free to skip this step. You can activate comments on a lesson-by-lesson basis.

2. For Each LearnDash Content Type

The next place you need to enable comments is via a LearnDash setting. For each content type…

  • courses
  • lessons
  • topics
  • quizzes
  • assignments
  • essays

…you can choose to enable or disable comments.

Enable comments for LearnDash lessons

  1. Navigate to the content type you’d like to enable comments for
    Ex: LearnDash LMS > Lessons
  2. Next to “All Lessons,” click Settings
  3. Scroll down to “Editor Supported Settings”
  4. Enable Comments
  5. Click the Save button at the top

This tells LearnDash that you want to be able to use comments for some (or all) of your lessons.

NOTE
You need to do this for each LearnDash content type that you want to use comments on.

3. Individual Lessons, Topics, Quizzes, Assignments, Essays

Now you need to make sure comments are enabled for each individual piece of content that you want them on. In this example, we’ll use lessons, but the same applies for all LearnDash content types.

WordPress quick edit feature that allows for bulk edit of comments

  1. Navigation to LearnDash LMS > Lessons
  2. Hover over the lesson you want to enable comments for
  3. Click Quick Edit
  4. Make sure the Allow Comments box is checked
  5. Click the Update button

If you have a lot of lessons, you can set all lessons to allow comments in bulk.

Bulk Edit LearnDash lessons to enable comments

  1. On the LearnDash LMS > Lessons screen
  2. Tick the checkbox at the very top of the list of lessons, within the header
  3. In the Bulk Actions dropdown, choose Edit
  4. Click Apply
  5. Change the “Comments” to Allow
  6. Click Update

NOTE
If you have multiple pages worth of lessons, you’ll need to navigate to each page and repeat those steps. Bulk editing only applies to the lessons currently being shown on the screen.


And now you should see a comment form at the bottom of whatever content type you just enabled them for.

Managing Comments

If you decide to allow comments on your LearnDash site this way, they will all appear in the Comments menu in the WordPress admin area. You can edit, delete and respond to them from there.

WordPress comments area in wp-admin

Previous

How to Hide the Default LearnDash Lesson List on Course Pages

Next

How & Why to Integrate Easy Digital Downloads with LearnDash

4 Comments

  1. Justin

    So I’m playing around with this. It’s pretty straight forward and made easier with your instructions.

    Just curious, is there an easy way to change the word “leave a comment” and “comments” to “Have a Question?” and “Questions” for students going through my courses and leave the default comments wording (leave a comment/comments) for my blog readers?

    Also in line with the question above, can I change my “post comment” button text to “post question”, but again only on the learndash pages and leave my blog posts with the default “post comment”?

    • An easy way? I don’t think so. Not that I’m aware of.

      If you use this default commenting system, your theme is actually what is in control of the wording, and on which types of pages different wording might appear. And no WordPress theme that I’m aware of does anything special for LearnDash comments, so they will all use whatever your theme has decided should be the wording. And this will be used for blog posts as well as lessons.

      The way to change it would be to locate the file in your theme that outputs the comments, and then modify it. You would use a WordPress conditional to check the post type (i.e. a PHP if statement), and if it’s a lesson, display some language, and if it’s not, display other language.

      Not crazy hard for a seasoned WordPress developer, but definitely asking a lot for a WordPress beginner or site owner with no dev experience. I don’t know where you fall on the spectrum.

  2. Instructor

    Hi,
    Is it possible to filter comments so that only those users of each LearnDash group can see them? I want participants to stay in the course area (not moving for example to BuddyPress forums).

    • I’m not sure. I’ve never seen that done before.

      There is a plugin that might be helpful, but you’ll have to evaluate it. Dennis Hall has a student notes plugin that mentions some group functionality.

Leave a Reply

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

Powered by WordPress & Theme by Anders Norén