InMotion Hosting Support Center

By default Articles, Pages, Blog pages, and other content types do not have a place for visitors to leave a comment. Beginning in Drupal 8, Comment became its own field type. This means it is much more versatile and can be added to even more places, such as each product on a site having its own comment section. Below is our guide on adding a comment field for the content type in Drupal 8.

How to create a comment field for a content type

  1. Log into your admin interface..
  2. Select the Menu option from the top menu bar.
  3. From here click on the the Structure link, located on the menu bar underneath the first one.
  4. You are now on the Structure page. From here, find and click on the Content types link.
  5. Here on the Content types page you are presented with all the available types of content to create nodes with. Find the content type you want to add the comment to and click on the Message fields link from the dropdown. In our example, we will choose the Blog page content type.
  6. This page is where we will add the comment field. Give the comment field a name where you see Add new field. This should be descriptive, so we are naming it Comments. Note that the Machine Name is automatically created according to the label you gave the field. Next, select the Comments option from the Field Type dropdown.
  7. After the field data has been entered, click on the Save button in the lower left corner. This will save the new field data to your selected content type. You will be prompted to confirm this with an additional page, simply click Save field settings to finish.
Was this article helpful?
Continued Education in Course Drupal 8
You are viewing Section 9: 302: Creating a comment field for content types in Drupal 8
Section 10: 301: Creating URL Aliases in Drupal 8

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

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

n/a Points
2014-07-14 10:40 am

useful post, scott. txs for sharing. ashton

Post a Comment

Email Address:
Phone Number:

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

1 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!