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.
WordPress is designed to encourage discussion, and it does so by allowing comments on all types of content. This is the default behavior. In many cases, this makes sense for those who run a blog, discussion forum, etc. But for LearnDash courses, comments don’t make a whole lot of sense 🤔.
There are several ways to handle comments in WordPress, and I’ll cover all the ways to disable/hide the comment form on every type of LearnDash content, including course pages, lessons, topics, quizzes & essays.
There are three different ways to hide the comment form:
has a near-perfect 5-star rating with over 200 ratings
Folks, you really can’t ask for much better 💯.
⭐ Use the Disable Comments Plugin
In your WordPress admin area…
navigate to Plugins > Add New
search for “Disable Comments”
install & activate the Disable Comments plugin by Samir Shah
IMPORTANT Before you disable comments in the next step, it’s important that you delete any current comments on your site. This plugin provides a tool for that.
If you have any existing comments, navigate to Tools > Delete Comments. Before deleting anything, you should probably make a backup.
Choose Comments to Disable
Now it’s time to choose which types of LearnDash content you want to disable comments for. Disabling comments will completely remove the comment form from all pieces of content of that type. This includes content published in the past and anything you publish in the future.
Navigate to Settings > Disable Comments
Choose either “Everywhere” or “On certain post types”
Everywhere: If your site doesn’t have a blog, or you just don’t ever want to use comments on your site at all, you can choose this option.
On certain post types: For most people, I would recommend this option.
After choosing “On certain post types,” you then need to check the box next to each post type that you want to disable comments for. The LearnDash post types are:
Courses
Lessons
Topics
Quizzes
Submitted Essays
You might also want to check “Media” and “Pages,” as most people don’t want to allow comments on those types of pages either.
You might see other post types listed on this page. Some plugins, page builders & even themes will use additional post types. If you’re not sure, leave it unchecked. If you’re navigating your site and see a comment form that you don’t want, try to figure out which post type it is, come back here and check the box.
Recommended Product
Rapyd just launched the fastest BuddyBoss, LearnDash & WordPress LMS hosting on the planet. Get 25% OFF with their early bird discount and lock-in up to 2 years of discounted pricing. From the creators of BuddyBoss.
Make sure you click Save Changes when you’re finished. Then check your live site and the comment form should be hidden from all LearnDash content types.
Manually, Using Bulk Edit
This method only works for previous & existing courses, lessons, topics, quizzes & essays. Any new content that is created will need to have this process completed again, after the fact.
Because it’s not very future-proof, I don’t recommend it as a way of globally disabling comments for LearnDash. But…
Navigate to LearnDash LMS > Courses
Check the box at the top, next to the word “Title”
Click the Bulk Actions dropdown & choose Edit
Click the Apply button
In the Comments dropdown, choose Do not allow
Click the Update button
You can repeat these steps for each LearnDash content type.
If you have more than 1 page worth of courses (or lessons or topics, etc.), you’ll need to either:
do this multiple times, on each page… or
go to Screen Options at the top, and change your “Number of items per page” value to be much higher
Disable Comments Using Code
I really wouldn’t recommend this option. While it is very lightweight, and ensures you are in complete control of the code, it doesn’t do as thorough a job as the Disable Comments plugin. But if you’re a developer, and like to keep all edits within your complete control, here’s how you disable comments using your own code.
Recommended Product
Uncanny Owl has been making the best LearnDash plugins since the day LearnDash was born. Their LearnDash Toolkit is used on over 30,000 sites and adds 20+ features specifically for LearnDash. They also sell the popular plugins:
• Uncanny Groups - group/corporate sales, group reporting & more.
• Tin Canny Reporting - one of the best reporting plugins for LearnDash
• Uncanny Automator - automate LearnDash & connect with 150+ WordPress plugins & third-party services
You would add this either to a custom functionality plugin, your child theme’s functions.php file, or use the Code Snippets plugin.
That would disable comments for all LearnDash content types. You could update the array() to add or remove any post type you’d like.
If you’ve found a better way to disable the comment form for LearnDash content types, I’d love to hear about it in the comments. But I think you’ll be very pleased with how easy it is to use our recommended option.
Automate your LMS site with over 150+ plugins & apps. Uncanny Automator is the perfect no-code automation tool to replace dozens of WordPress plugins.
• Supports LearnDash, Tutor LMS, LifterLMS, and most membership plugins
• Trusted by 30,000 companies
Hide the Comment Form on LearnDash Courses, Lessons, Topics, Quizzes & Essays
By Dave Warfel
On January 5, 2019
In Tutorials
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.
WordPress is designed to encourage discussion, and it does so by allowing comments on all types of content. This is the default behavior. In many cases, this makes sense for those who run a blog, discussion forum, etc. But for LearnDash courses, comments don’t make a whole lot of sense 🤔.
There are several ways to handle comments in WordPress, and I’ll cover all the ways to disable/hide the comment form on every type of LearnDash content, including course pages, lessons, topics, quizzes & essays.
There are three different ways to hide the comment form:
It’s not often that my preferred solution is to just use a plugin, but this is one of the rare exceptions. The Disable Comments plugin is:
Automate your LMS site with over 150+ plugins & apps. Uncanny Automator is the perfect no-code automation tool to replace dozens of WordPress plugins.
• Supports LearnDash, Tutor LMS, LifterLMS, and most membership plugins
• Trusted by 30,000 companies
Get 10% OFF with code
affiliate10-dwarfel
Folks, you really can’t ask for much better 💯.
⭐ Use the Disable Comments Plugin
In your WordPress admin area…
IMPORTANT
Before you disable comments in the next step, it’s important that you delete any current comments on your site. This plugin provides a tool for that.
If you have any existing comments, navigate to Tools > Delete Comments. Before deleting anything, you should probably make a backup.
Choose Comments to Disable
Now it’s time to choose which types of LearnDash content you want to disable comments for. Disabling comments will completely remove the comment form from all pieces of content of that type. This includes content published in the past and anything you publish in the future.
You might see other post types listed on this page. Some plugins, page builders & even themes will use additional post types. If you’re not sure, leave it unchecked. If you’re navigating your site and see a comment form that you don’t want, try to figure out which post type it is, come back here and check the box.
Rapyd just launched the fastest BuddyBoss, LearnDash & WordPress LMS hosting on the planet. Get 25% OFF with their early bird discount and lock-in up to 2 years of discounted pricing. From the creators of BuddyBoss.
Get 25% OFF Rapyd Today →
Recommended settings for most people
Make sure you click Save Changes when you’re finished. Then check your live site and the comment form should be hidden from all LearnDash content types.
Manually, Using Bulk Edit
This method only works for previous & existing courses, lessons, topics, quizzes & essays. Any new content that is created will need to have this process completed again, after the fact.
Because it’s not very future-proof, I don’t recommend it as a way of globally disabling comments for LearnDash. But…
You can repeat these steps for each LearnDash content type.
If you have more than 1 page worth of courses (or lessons or topics, etc.), you’ll need to either:
Disable Comments Using Code
I really wouldn’t recommend this option. While it is very lightweight, and ensures you are in complete control of the code, it doesn’t do as thorough a job as the Disable Comments plugin. But if you’re a developer, and like to keep all edits within your complete control, here’s how you disable comments using your own code.
Uncanny Owl has been making the best LearnDash plugins since the day LearnDash was born. Their LearnDash Toolkit is used on over 30,000 sites and adds 20+ features specifically for LearnDash. They also sell the popular plugins:
• Uncanny Groups - group/corporate sales, group reporting & more.
• Tin Canny Reporting - one of the best reporting plugins for LearnDash
• Uncanny Automator - automate LearnDash & connect with 150+ WordPress plugins & third-party services
You would add this either to a custom functionality plugin, your child theme’s
functions.php
file, or use the Code Snippets plugin.That would disable comments for all LearnDash content types. You could update the
array()
to add or remove any post type you’d like.If you’ve found a better way to disable the comment form for LearnDash content types, I’d love to hear about it in the comments. But I think you’ll be very pleased with how easy it is to use our recommended option.
Automate your LMS site with over 150+ plugins & apps. Uncanny Automator is the perfect no-code automation tool to replace dozens of WordPress plugins.
• Supports LearnDash, Tutor LMS, LifterLMS, and most membership plugins
• Trusted by 30,000 companies
Get 10% OFF with code
affiliate10-dwarfel
Previous
How to Find the LearnDash Course ID
Next
Customize LearnDash Button Styles with CSS (Class/ID Names)