Skip to content

Article recipe structured data ​

This guide describes the Article recipe structured data section.

Use the section to generate a structured data schema for displaying recipes. Refer to Google search central docmentation: Recipe.

For general guidance with modifying sections, refer to Sections overview, and Shopify help: Sections and blocks.

Configure the Article recipe structured data section ​

To configure your Article recipe structured data section:

  1. Go to Customize theme.

    In Theme editor, at the top of the page, use the dropdown to select Blog posts > Recipe.

    Note

    The section is available only on the Blog posts > Recipe page template.

  2. From the side menu, select Article recipe structured data.

  3. Select a setting described in the following table.

Setting nameDescription
Ingredients metafield namespace and keyIn the Ingredients metafield namespace and key text box, enter a metafield namespace and key for recipes' ingredients. Use a multiple single-line text metafield.
Serves metafield namespace and keyIn the Serves metafield namespace and key text box, enter a metafield namespace and key for the number of people recipes' serve. The value you enter must be a whole number.
Total time metafield namespace and keyIn the Total time metafield namespace and key text box, enter a metafield namespace and key for the time it takes to prepare recipes. Enter the total time it takes to prepare recipes in ISO 8601 format. For example, PT1H30M represents 1 hour and 30 minutes. Refer to Wikipedia: ISO 8601.
Custom CSSSelect Custom CSS. In the box, enter custom CSS styles to apply only to the current section. Refer to Shopify help: Add custom CSS. To apply custom styles to your entire online store, refer to Theme settings > Custom CSS.