Program Subcategory
The Program Subcategory content type is used for adding program subcategories to the site.
Fields
Name | Machine name | Required | Description |
---|---|---|---|
Title | drupal’s default | Yes | Title of the program subcategory item. |
Program | field_category_program | Yes | A reference field for selecting the program. This establishes the parent program for the subcategory. |
Meta Tags | field_meta_tags | No | A meta tags field that allows you to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn, and other social networking sites. This helps with SEO and social sharing. |
Header Area | Field group | ||
Image | field_category_image | No | An image field for uploading the category image. This image is typically displayed in the header area of the subcategory page. |
Color | field_category_color | No | Reference field for choosing a color term from the “Color” vocabulary. This allows you to visually distinguish subcategories. |
Content | field_header_content | No | A paragraph embed field that allows you to add various flexible content modules from a predefined list of paragraph types. This allows for rich and dynamic content within the header area. |
Content Area | Field group | ||
Description | field_category_description | No | A textarea for the description/body of the subcategory, using a WYSIWYG editor and without a summary field. |
Content | field_content | No | A paragraph embed field that allows you to add various flexible content modules from a predefined list of paragraph types. This is the main content area of the subcategory page. |
Sidebar Area | Field group | ||
Content | field_sidebar_content | No | A paragraph embed field that allows you to add various flexible content modules from a predefined list of paragraph types. This is the content that will appear in the sidebar of the subcategory page. |
Bottom Area | Field group | ||
Content | field_bottom_content | No | A paragraph embed field that allows you to add various flexible content modules from a predefined list of paragraph types. This allows you to add content to the very bottom of the subcategory page. This could be calls to action, related content, or other supplemental information. |
URL pattern
This content type uses the following URL pattern:
/programs/[node:field_category_program:entity:title]/[node:title]
This means that the URL will be constructed using the title of the parent program and the title of the subcategory itself. For example, if the parent program is “Youth Programs” and the subcategory is “Summer Camp”, the URL would be /programs/youth-programs/summer-camp
.