Back to Forge Support

Forge - Section heading metafields

Template based sections within the Forge theme include a header section which allows you to add an image along with headings and subheadings beyond the title of the page you are viewing.
When viewing a Collection, Blog post or Page you will be shown a header option allowing for unique content to be added using metafields.

In your store admin open: SettingsMetafields

In this example we will create some metafields that allow custom fields to be added to Pages. The practice is the same for products, collections and blog posts, when opening the metafields page in your store admin you will simply select the part of your store you are creating a metafield for.

 

Creating a title metafield

  1. Click on: Add definition
  2. Enter a name, for example: Page heading
  3. Ignore the namespace and key, this will be automatically filled based on your title.
  4. Enter a description which will help to remember what this field is used for when viewing you page admin.
  5. Click on: Select content type and select: Single line text
  6. Click save when done.

 

Creating a subheading metafield

  1. Click on: Add definition
  2. Enter a name, for example: Page subheading
  3. Ignore the namespace and key, this will be automatically filled based on your title.
  4. Enter a description which will help to remember what this field is used for when viewing you page admin.
  5. Click on: Select content type and select: Multi line text
  6. Click save when done.

 

Creating an image metafield

  1. Click on: Add definition
  2. Enter a name, for example: Page image
  3. Ignore the namespace and key, this will be automatically filled based on your title.
  4. Enter a description which will help to remember what this field is used for when viewing you page admin.
  5. Click on: Select content type and select: File
  6. Click save when done.

 

When any or each of these have been created you will see new custom fields at the bottom of your pages when viewed in the admin.

From here you can add content that will be unique to each page. These custom fields can be selected in your theme admin to fill that content where it is available.