While comments are connected to the article content type by default in Drupal 8, there are others that do not. In these cases, such as the page content type, it will need to be added to the default structure. Follow along below as we guide you on how to add the comment field to a basic page in Drupal 8.

How to enable comments for a basic page

  1. Log into your Drupal 8 admin interface.
  2. Using the top menu bar, select the Menu option. From there, another menu will appear below. Choose the Structure option from the second menu.
  3. This will bring up a screen of all the structure types. Click on the Content types to continue.
  4. This will list all of the current content types available. The procedure for adding a comment field is the same regardless of content type. Select the content type you want to work with. We will work with the Basic page content type. Click on the Manage fields option from the dropdown to the right side of the Basic page row.
  5. This leads you to the Basic page settings page. You will see the basic fields for the basic page, which is the body field. Under this field is an empty field labeled Add new field> Give the comment field a name here, most likely something line 'comment'.
  6. Next, move to the dropdown to the right and select the field type Comments from the list.
  7. Once you have completed that, click on the Save button at the bottom of the page. This will activate your new comment field for the basic page (or whichever content type you worked with).
    DefaultComent field added
Continued Education in Course 107: Working with Comments in Drupal 8
You are viewing Section 4: Adding a comment field to a basic page in Drupal 8
Comment Introduction for Drupal 8
Setting maximum comments per page in Drupal 8
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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?

Search

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: support@InMotionHosting.com
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!