The Page content type is the most important and commonly used content type. It can be used to create two different types of content:
- Basic informational pages, like a page providing details on a department's graduate admissions process.
- More advanced "landing pages", made up of blocks like billboards & content lists, like your homepage or main news page.
Most of the time, Page content items will have menu links so your visitors can easily navigate to them.
Adding a Page
Visit the new page form by clicking Manage » Content » Add Content » Page.
In the main area of the form on the left, you'll find some important fields to fill out:
- Title: The primary heading for the page. All content types have a title.
- Summary: This field is hidden by default (click "Edit summary" to reveal). The summary is used to provide a brief overview of the page's content and purpose. It will be displayed in Page List blocks that are used elsewhere on your site.
- Lede: Also hidden by default (click "Edit lede" to reveal). Used to provide a prominently styled lede introduction to your pages content. Used primarily on basic information pages to emphasize the page's purpose. It will be displayed above the body.
- Body: The text to display on this page when it's viewed directly. If you're building a landing page (like your homepage), this is typically left blank, since you'll use the layout builder to add blocks to the page instead of displaying the body field.
There's also the Related Links and Related Documents fields. If you provide links or documents to these fields, they will be displayed on the page as a way to call out related information for your visitors. These fields are not commonly used, and most of the time you can simply include such links directly in the body field's content.
On the right sidebar, you'll find additional fields:
- Featured Image: A primary image to associate with this content. It can be displayed in a number of ways on the page and will also be used if this page is displayed in a Page List block.
- Featured Image Display: Used to control how the image is displayed when viewing the page directly.
- Featured Icon: An icon (typically an SVG or PNG) for this page. Icons can be displayed near the page title or overlaid on the featured image. They can also be displayed in page list blocks.
- Featured Icon Display: Used to control how the icon is displayed on the detail page.
- Menu settings
- To add this page to your primary navigation, use the "Provide a menu link" checkbox. Menu link titles should be short but descriptive. It's common to have a longer page title and a shorter menu link title. Don't worry about selecting the correct "Weight" value - it's typically easier to manage a menu item's placement using the separate menu admin page.
- If you have a page with a lot of text in the body field, it can be helpful to select Create jump link menu. This will extract all of the "Heading 2" headings from your body field and create a jump link menu from them. Jump link menus allow your visitors to quickly jump to various headings on your page. Note that not all themes support this feature in the same way.
- Categorization: Tag this page with taxonomy terms from various vocabularies on your site. Not all sites will have the same set of vocabularies available. See content categorization for more information.
- URL alias: This allows you to control the page URL. Most times you want to let Drupal choose the automatic alias for the page, which will be based on the title of the page and its placement in your menu. However, there are times when you want to specify a URL for a particular page. You can uncheck the Generate automatic URL alias box and enter your own custom URL. Keep custom URL aliases short but descriptive and use hyphens to separate words.
- Scheduling options: Allows you to schedule the date and time when the page is published instead of publishing it right away. You must uncheck the "Published" checkbox at the bottom of the form to use this feature.
- Authoring Information: Contains content creator user and date/time of when the content was created.
- Promotion Options: This is used if displaying a Page List block to stick the page at the top of the list.
- This default Page content type can be removed by a WDS developer if a site wishes not to use it.
- If you change your Menu Link Title, please see URLs and Paths to understand how this affects other pages of your website and learn how to fix it.