Drupal excels in the realm of content management by allowing different types of content. In this recipe, we will walk you through creating a custom content type. We will create a Services
type that has some basic fields and would be used in a scenario that brings attention to a company's provided services.
You will also learn how to add fields to a content type in this recipe, which generally goes hand in hand with making a new content type on a Drupal site.
- Go to
Structure
and thenContent types
. Click onAdd content type
to begin creating a new content type. - Enter
Services
as the name, and an optional description. - Select
Display settings
and uncheck theDisplay author and date information
checkbox. This will hide the author and submitted time from services pages:
- Click on the
Save and manage fields
button to save the new content type and manage its fields. - By default, new content types have a
Body
field automatically added to them. We will keep this...