LearnDash Design & Tutorials

LearnDash Design & Tutorials

How to Enable Comments for LearnDash

Affiliate Disclosure: We may be compensated if you use our links to make a purchase. We are extremely selective in who we partner with & only recommend products we believe in. Our affiliate relationships do not influence our recommendations.

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

25 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.

    • You could use a plugin like LocoTranslate to put the text you want there, that’s how i do it at least. You go into loco translate, select Learndash LMS, select edit english (Or whatever language you want to edit) and search for what you want to change and change it, it’s that easy.

  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.

  3. I found this thread helpful, so I’ll add some updated info in case anyone else runs across it: the free version of Dennis Hall’s group comment is defunct. In my situation, I’m taking this workaround: it is not a problem to create separate courses for the groups for whom I want to have comments just for their group. Re another comment above, I use the free plugin called Real-Time Find and Replace to change wording in these situations. Lastly,
    I’ll add that there’s another great note taking plugin: LearnDash Notes by snaporbital. It’s slightly more expensive than Hall’s but from what I could tell it looked the better of the two–it is fantastic; not perfect, but what is.

  4. I have gone through all the steps outlined above, but comments do not show up on the course page, whether logged in or not. For the lesson pages, comments only show up when one is logged in.

    • I just looked at your site, and the only thing I can think of is that you missed a step. Or you have some other plugin that is disabling comments.

    • Thanks, Dave. It’s the Kadence theme I was using. When I change to Astra, comments on the course page are visible, whether logged in or not. However, comments on the lesson page are still only available when logged in.

    • That must be some setting you have on another plugin. Are you using any membership or content-restriction plugins?

      The default behavior is to either show comments or not show comments. Logged in or out should not matter.

  5. SJ

    Hey there,

    I have done this and it’s still not showing up as an option to add in Lessons. I can see it in normal blog posts.

    Any advice?

    Thanks 🙂

    • Hey SJ — I’ve really outlined all the steps in this article, so if they were all completed, I don’t know why you don’t see comments for your lessons. Are you using Focus Mode?

      If you still can’t figure it out, I can offer to take a look at your setup for a small fee. Let me know if you’d like to go that route and I’ll email you so you can provide access to your WordPress admin area.

  6. Ron

    HI,

    I use Divi theme and the comments module within Divi. I can add comments, but they are not visible. How can I make these visible?

    • Hi Ron — I’m not sure. Have you followed all the instructions in this article?

      Where/How are you adding the Divi comments module? Are you adding it to each lesson individually, at the bottom? Are you using LearnDash Focus Mode?

  7. Ron

    Hi Dave,

    I followed all instructions. The comment module is added to each topic,. It appears on the page, but the comments are not visible.

    We use the Learndash Focus mode

    • What do you mean by “it appears on the page?” Can you post a screenshot? I don’t understand how it is appearing on the page but the comments are not visible.

      It might be best if you shoot me an email instead ([email protected]). If you’re comfortable providing me with access to a topic that is supposed to contain topics, that might help as well.

  8. Ron

    Hi Dave,

    I’ve added a screen shot of the lessen
    https://imgur.com/0RRioLQ

    And here is a screenshot, showing that there is a comment
    https://imgur.com/6xdUsFI

  9. Ron

    Hi Dave,

    All comments are approved as you can see in the screenshot.
    https://imgur.com/dk8G3UA

    • Not sure what to tell you, Ron. The only thing that is different from the default method of showing comments is the fact that you’re using the Divi comments module, so I’m guessing it has something to do with that. I don’t use or recommend Divi so I can’t help you troubleshoot further. Sorry.

  10. Paul

    Hi Dave

    Do you know if there is a way to display comments on individual questions? Right now when comments are activated on quizes then it is possible to comment on the quiz landing page plus all the individual question pages. However the problem is that these comments then appear on every question page of that quiz. Thanks

    • Hi Paul — No, this isn’t possible.

      LearnDash quizzes use JavaScript to display the questions, so each question doesn’t actually have its own WordPress page. All the questions are loaded onto the quiz page, hidden with CSS, and then JavaScript is used to switch the CSS from being hidden to being visible. In order for WordPress comments to work, the questions would each need their own page, which they don’t have.

      So comments only work on the quiz level, not the individual question level.

  11. Paul

    Hi Dave. Thanks for your reply and explanation. That is good to know.

  12. TWA

    This is awesome! Just what I was searching for. Thought it was weird Learndash didn’t allow this and then I found this. Thank you!

Leave a Reply

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

Powered by WordPress & Theme by Anders Norén