InMotion Hosting Support Center

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
Section 3: Comment Introduction for Drupal 8
Section 5: Setting maximum comments per page 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.

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!