WP Recipe Maker automatically includes all your recipe details in the recipe metadata. We use JSON-LD metadata, which is the format that Google recommends. This allows you to show up as rich snippets & rich cards in Google’s search results.
No need to worry about this metadata either. Everything is added automatically behind the scenes when you write your recipes. It is also possible to mark recipes as non-food to not output any metadata at all.
How can I test my recipe metadata?
Use Google’s Rich Results Test to test a page on your website that has a recipe on it. When using the tool you’ll see something like this:
Our plugin only handles the recipe portion of this. Your theme and SEO plugins like Yoast are responsible for the rest (and also very important!). Also note the difference between “Recipes” and “Guided Recipes”. The “Recipes” metadata is responsible for your rich snippets in the search results. We also provide metadata for guided recipes but it’s probably not as important for your site.
You’ll want to make sure there are definitely no errors in there. Warnings don’t necessarily have to be a problem. Those are fields that Google recommends you to add, but might not make sense for all recipes (like a recipe video, for example).
Another thing to look out for is that there is only 1 recipe item on the page. In the screenshot above it says “1 item” at the end, so that’s what you’re looking for.
You should not have multiple recipe markups if you only have 1 recipe box on the page. If you do, make sure you don’t have any other recipe or metadata plugins active.
If you have multiple recipe boxes on a page you might want to consider marking some as being Non-Food recipes to not output their metadata and have only 1 recipe to focus on for Google. Another option is to use the setting on the WP Recipe Maker > Settings > Recipe Metadata page to only output metadata for the first recipe box on the page.
Using suitableForDiet Metadata
WP Recipe Maker has an integration for the https://schema.org/suitableForDiet metadata to specify what diets your recipes are suitable for. This feature is disabled by default but can be enabled on the WP Recipe Maker > Settings > Recipe Metadata page.
There is a fixed list of valid options for suitableForDiet Metadata so you can only pick from this list. The labels on how they actually get displayed on your website can be changed on the WP Recipe Maker > Manage > Recipe Fields > Diets page, however.