Get AI SEO for FREE.

Learn More!

Recipe Schema Type

If you publish recipes on your website, you can help searchers find your content by using structured data – in the form of the Recipe Schema type – to provide information such as ratings, cooking and preparation time, nutrition information, and more.

How to Add a Recipe Schema to Your WordPress Website?

This helps search engines better understand the contents of your recipe and present it to their users (i.e. searchers) in unique ways through the use of SERP features (such as rich snippets) in Google Search results and Google Images. Fortunately, applying the Recipe Schema type to any number of pages on your website couldn’t be easier than it is with the help of Rank Math.

How to Add Recipe Schema Markup to Your Posts/Pages

Before we begin, you’ll need to ensure that Rank Math’s Schema Module has been enabled on your website by navigating to Rank Math > Dashboard in your WordPress admin area.

Enable Schema (Structured Data) module

In this tutorial, we’ll walk you through how to use the Recipe Schema type on a post or page, as well as the various available settings for it – let’s get started:

1 Edit Your Post or Page

To add the Recipe Schema Type, first head over to the edit page for that post, by clicking Edit as shown below:

Click on Edit post

2 Open Rank Math In The Gutenberg Sidebar

You can open Rank Math in the Gutenberg sidebar by clicking on the Rank Math SEO icon for the page.

Or click the three vertical dots in the top right-hand corner of the edit page and select Rank Math in the Plugins section as shown below:

Click on Rank Math

Navigate to the Schema Settings by clicking on the Schema tab and then clicking on Schema Generator.

Click on Schema Generator

4 Open Rank Math’s Schema Builder

Find Recipe Schema from the list and click on Use to open the Schema Builder.

Use Recipe Schema type

The Schema Builder will then open up with the various options as shown below:

Recipe Schema Builder

Now, let’s have a closer look at each of the available options.

Recipe Schema Type Setup & Available Options

1 Headline

Write a headline that makes the name of your dish. The headline should be appealing to the audience. You can also make use of variables if you have mentioned them in the post title.

Enter the Headline

2 Review Location

This option lets you where the information for the Schema should be added. You can add it above the content, below the content, or both above and below the content. You can also use the shortcode and choose a custom location.

Add Review Location

3 Shortcode

If you chose the shortcode option in the above setting, then you should paste the shortcode from this field into your post where you want the review to be displayed.

Shortcode - Recipe Schema

In the front end, here is how the Recipe Schema data would look like:

frontend example

4 Description

Enter the description of the recipe. Make it enticing so that the audience is bound to click it. You can also make use of variables and create a dynamic description.

Enter the description

5 Preparation Time

Enter the time for the dish to be prepared in ISO 8601 format.

Preparation TIme

6 Cooking Time

Enter the time required for the dish to be cooked completely in ISO 8601 format.

Enter the cooking time

7 Total Time

Enter the total time required to prepare the dish in ISO 8601 format. Total time is the Preparation Time + Cooking Time.

Enter Total Time

8 Dish Type

Enter the type of dish. For example, it could be a dessert or a main course or a salad.

Enter the dish type

9 Cuisine

Enter the cuisine that you are cooking.

Enter cuisine

10 Keywords

Enter the keywords that describe your dish closely.

Enter the keywords

11 Recipe Yield

Enter the quantity that the dish produces.

Enter the recipe yield

12 Calories

Enter the number of calories in the recipe. This is an optional field.

enter the calories

13 Recipe Ingredients

Enter the ingredients of the recipe by clicking on Add Property Group. You can add as many entries as you like, but only one per entry, as shown below:

Recipe Ingredients

14 Review

Enter the rating score for the product. You can also enter the maximum and minimum rating for your recipe.

Enter the rating score

15 Pros and Cons PRO

Enter the positives and negatives of your recipe here. These options are available only in the PRO version of Rank Math. When you add, ensure that you add only one item per line.

Pros and Cons fields

16 Video

This section contains the fields as shown below.

Video - Recipe Schema

The fields are as follows:

  • Name: Enter the name of the video that shows the recipe.
  • Description: Enter the recipe video description.
  • Video URL: Enter the URL of the recipe’s video.
  • Content URL: Enter the URL to the actual video file.
  • Recipe Video Thumbnail: Enter the URL of the video’s thumbnail.
  • Duration: Enter the duration of the video in ISO 8601 format.
  • Video Upload Date: Enter the date when the video was uploaded with the help of a date picker.

17 Instruction Type & Recipe Instructions

There are two ways in which you can describe the recipe.  You can either write a paragraph describing the steps, or you can break down the individual steps.

If you choose the Single Field option, type in or copy the steps from your recipe in the text field in the Recipe Instructions.

Single Field

If you choose the How To Step option, you’ll see something similar to the image below. Click the Add Property Group option to reveal more options.

Enter HowTo Step

So you can include steps inside steps and make your description more clear to understand. Please note that the NameURL, and Image URL fields are only available in Rank Math PRO.

And, that’s it! Click on Save for this Post once you’re done making any changes to the Recipe Schema for this page. Then, simply save the page as you normally would after making a change or click Publish if this is a newly created page. You can then check your Schema with the help of Google’s Rich Results Testing Tool.

Still not using Rank Math?

Setup takes less than 5 minutes including the import from your old SEO Plugin!

Learn more about the PRO Version

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles