WordPress recipe schema guide

featured image

Your chocolate chip cookie recipe is sitting on page 3 of Google, while a very similar one is right at the top, showing off a photo, 5-star rating, and cooking time directly in the search results. That difference isn’t random – it usually comes down to recipe schema markup.

Thankfully, this isn’t something reserved for big sites or advanced developers. With the right setup, you can turn your own recipes into rich results that stand out and attract more clicks, even if you’re just getting started.

You don’t need to overthink the technical side, either. Whether you use a plugin or prefer a more hands-on approach, it’s all manageable without coding knowledge. By the end, you’ll know how to add recipe schema to your WordPress site and give your recipes a much better chance of getting noticed.

What is recipe schema?

Recipe schema is a standardized code format that tells search engines the details of your recipes, such as ingredients, cooking times, and ratings.

When properly implemented, recipe schema can turn a basic search listing into a rich result that shows your recipe’s photo, rating, and key details directly in Google.

These rich results can include:

  • Cooking and prep times
  • Ingredient lists
  • Calorie information
  • Star ratings
  • Recipe images

Essential recipe schema properties

Google requires specific properties in your recipe schema for your recipe to appear as a rich result.

  • name: The title of the recipe (e.g., “Classic Chocolate Chip Cookies”).
  • image: A high-quality photo of the finished dish.
  • recipeIngredient: A complete list of ingredients with quantities.
  • recipeInstructions: Step-by-step directions for making the recipe.
  • prepTime, cookTime, totalTime: Duration values formatted in ISO 8601 (e.g., PT30M for 30 minutes).
  • recipeYield: The number of servings or items the recipe produces.
  • nutrition: Calorie count and nutritional details using the NutritionInformation type.
  • aggregateRating: The average user rating and total number of reviews.

The recipeIngredient property should list each ingredient as its own entry, including both quantity and unit, such as “2 cups all-purpose flour.” This structured format helps search engines understand exactly what goes into your recipe and display it correctly in recipe rich results.

The recipeInstructions property should break down your method into clear, individual steps. Each step is typically defined as a HowToStep object with a short, actionable instruction. Adding images to each step can also enable Guided Recipes on supported devices, which we’ll cover later.

While nutrition data isn’t required, including it can improve your eligibility for rich results and make your recipe more useful to readers. WP Recipe Maker’s Pro bundle calculates nutrition values automatically and adds them to your schema.

What are the three recipe schema formats?

Recipe schema can be implemented using three main recipe formats:

  • JSON-LD: A script block placed in the page’s header or body, separate from the visible HTML, and recommended by Google because it’s easier to manage.
  • Microdata: Attributes added directly to existing HTML tags (e.g., itemprop=”recipeIngredient”), which requires editing your page’s HTML.
  • RDFa: An extension of HTML5 similar to Microdata, but less commonly used for recipe schema.

JSON-LD is the format you should use. It keeps the schema code separate from your recipe content, which makes it easier to update and less prone to errors.

What does recipe schema look like?

Here is a basic recipe schema example in JSON-LD format, which is Google’s recommended method.

"recipeInstructions": [
  {
    "@type": "HowToStep",
    "text": "Preheat oven to 375°F."
  },
  {
    "@type": "HowToStep",
    "text": "Cream together the butter and sugar until light and fluffy."
  },
  {
    "@type": "HowToStep",
    "text": "Add eggs and vanilla extract and mix until combined."
  }
]

Search engines read this structured data and use it to display rich, visual results in search, like the recipe cards you see for queries such as “strawberry shortcake recipe.”

Google search for strawberry shortcake recipe

How recipe schema works with search engines

Recipe schema works by communicating your recipe’s details to search engines in a structured format they can read and display.

When you add structured data like cooking times, ingredients, and ratings, search engines can understand your content more clearly and present it in a more engaging way. That’s how your recipes can show up with images, star ratings, and key details directly in search and image results.

For food bloggers, this makes a real difference in how your content is seen. Instead of blending in with plain links, your recipes can stand out as rich results that are much more appealing to click.

To qualify for rich results, Google requires at least two of the essential properties we covered above — but including all of them gives your recipe the best chance of standing out. The more useful information someone can see at a glance, the more likely they are to choose your recipe.

Take a look at these search results:

For newbie food bloggers, schema markups mean you can create more attractive and visible sites. On Google, That’s what comes up on Google when you search for “eggs benedict.” The top results all include recipe schema, which is why you can see featured images, ratings, cooking times, and ingredients right away. It makes choosing a recipe quick and easy.

Now compare that to a result without recipe schema:

Google search for eggs benedict recipes with schema markup

After a page or two, you’ll find listings that look much more basic. There’s no image, no rating, and no extra details to help you decide. Most people won’t even scroll far enough to see these, because the richer results already do a better job of grabbing attention.

Recipe schema doesn’t directly change your rankings, but it does affect how often people click on your result. When more people choose your recipe, it’s a strong signal that your content matches what they’re looking for, which can help your visibility over time.

On Google, there are also different types of recipe enhancements depending on the markup you use. Here are two of the most common:

By adding ItemList metadata for a roundup post, like a “best recipes” article, your content can appear in a carousel format in Google results. This lets you group multiple recipes under a theme – for example, “Swiss Christmas baking recipes” – and display them together as a set of rich recipe cards.

Guided Recipes

By using the recipeIngredient or recipeInstructions properties, you can enable Guided Recipes. This allows Google Assistant to walk users through your recipe step by step on supported devices.

Keep in mind that Guided Recipes require an image for each step, so they can take a bit more effort to set up. If you want to explore this further, we’ve covered the requirements in more detail in our dedicated article.

How to add recipe schema to your WordPress food blog

The easiest way to add recipe schema to WordPress is with a dedicated recipe plugin that generates the markup automatically as you write.

Several WordPress plugins can handle recipe schema, including general SEO tools like Rank Math and Schema Pro that support basic recipe markup. WP Recipe Maker is built specifically for food bloggers, generating JSON-LD structured data automatically while also handling recipe cards, adjustable servings, and nutrition data. If you’re looking for a setup that works directly with recipe content, it’s a more tailored option.

Step 1: Install a recipe plugin

A recipe plugin handles the technical side of schema for you, so you don’t need to write or manage code manually.

When choosing a plugin, look for one that:

  • Adds essential properties like prep time, cook time, and calories.
  • Generates structured data automatically as you enter recipe details.
  • Allows you to exclude non-recipe content from schema output.
  • Includes a visual recipe card or thumbnail.
  • Uses JSON-LD structured data.

WP Recipe Maker fits these requirements and is designed to work directly within your recipe workflow.

Step 2: Enter your recipe details

Once the plugin is installed, you can start adding your recipe information directly in the editor.
WP Recipe Maker automatically generates JSON-LD structured data as you fill in each field, so there’s no need to handle the markup yourself. The more complete your recipe is – including ingredients, cooking times, nutrition, and ratings – the richer your search result can appear.

WP Recipe Maker screen

Step 3: Validate your recipe schema

After publishing your recipe, it’s worth checking that everything is working as expected.
Paste your recipe page URL into Google’s Rich Results Test to confirm that your schema is valid and eligible for rich results. This tool highlights any missing fields or warnings so you can fix them quickly.

If anything comes up, don’t stress – most issues are small things like missing fields or formatting, and they’re usually easy to fix.

You can also add recipe schema manually by writing JSON-LD code directly into your page’s HTML. However, this approach takes more time, is harder to maintain across multiple recipes, and increases the risk of small errors that can stop rich results from appearing. For most food bloggers, using a plugin is the simpler and more reliable option.

By this point, you’ve seen how recipe schema works and how it can change the way your recipes appear in search results. It’s not just about adding code – it’s about making your content easier for both search engines and readers to understand and choose.

Recipe schema might sound technical at first, but it’s much more approachable once you see it in action. With the right setup, most of the heavy lifting is handled for you, so you can stay focused on creating recipes your audience will love.

As you keep building your blog, adding recipe schema is one of those small steps that can make a noticeable difference over time. It helps your recipes show up more clearly, look more appealing in search, and gives them a better chance of being clicked.

If you’re ready to put this into practice, you can get started with WP Recipe Maker and begin adding structured data to your recipes as you go.

The #1 Recipe Plugin for WordPress
Create recipe cards that are on-brand, SEO-friendly, feature-packed and monetizable.

FAQs

How do I add nutrition information to my recipe schema?

You can add nutrition data using the NutritionInformation schema type, which includes fields like calories, fat, protein, and carbohydrates. This can be written manually in JSON-LD using the appropriate @type and property structure.

If you’re using a plugin, the process is much simpler. WP Recipe Maker’s Pro bundle includes automatic nutrition calculation, so values are added to your schema without manual entry.

Are there free recipe schema tools for non-WordPress sites?

If you’re not using WordPress, there are still ways to generate recipe schema. Tools like Recipe Kit for Shopify or online schema generators let you fill in a form and copy the resulting JSON-LD code into your site.

These tools can help you create a basic recipe card format with structured data, but they usually require more manual setup compared to a WordPress plugin.

What happens if my recipe schema has errors?

If your schema contains errors, your recipe may not qualify for rich results in Google. This means your listing could appear as a standard link instead of a rich snippet with images and ratings.

You can check your schema using Google’s Rich Results Test or the Schema Markup Validator. Most issues are straightforward to fix, such as missing required fields or incorrect time formatting.

Similar Posts

One Comment

  1. This is really helpful information everything explained properly and easy to understand for me. Definitely going to try it on my food blog. Thank you for sharing this information with us.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.