InMotion Hosting Support Center

Even though you have learned how to add a comment field to a content type, you are not obligated to keep the comment on each individual node. YOu may want to create pages that will not have the ability to have comments, or shut comments down on nodes whose comments have gotten a bit out of control. The steps below will guide you on how to disable comments on a specific node in Drupal 8.

How to disable comments for a specific node

  1. Log into your admin dashboard.
  2. Using the top menu bar, select the Menu option.
  3. Next, choose the Content option from the second menu.
  4. This page will show a list of all nodes that have been created. Find the specific node you want to disable the comments for and click on the Edit link from the dropdown on the right hand side of the row. For example, we will choose the Sample Article node, which is an article content type and has comments enabled by default.
  5. Now you will see the settings page for the node. Over to the right hand side of the page there are a few sections you can expand to change the settings. Click on the Comment Settings section and then click on the Closed radio button. This will disable the comments for that node.
    Note: This will not remove any existing comments on the node, these will need to be removed separately.
  6. Once you have closed the comments for the node, click on the Save and keep published button at the bottom of the page. This will activate your new settings fot the node. Visiting that particular node on your site, you will notice that the comment form is no longer visible. Below is a before and after comparison so you can see the difference in the change you made.
    DefaultComent field added
Continued Education in Course 107: Working with Comments in Drupal 8
You are viewing Section 7: Disabling comments for specific nodes in Drupal 8
Section 6: Customizing your Comments field in Drupal 8
Section 8: Disabling comments for Article content type in Drupal 8

Support Center Login

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!