RecipeYield: Invalid Number
-
Looking at the Google Search Console I just realized, that there are some issues with the recipeYield information provided in the schema.org markup.
This is google’s guideline:
https://developers.google.com/search/docs/data-types/recipeThe quantity produced by the recipe. Specify the number of servings produced from this recipe with just a number. If you wish to use a different unit (for example, number of items), you may include additional yields. This is required if you specify any nutritional information per serving (such as nutrition.calories).
"recipeYield": [ "6", "24 cookies" }
However, this plugin provides a number, as well as a text field that goes with it. Both of them are then combined in the markup. –> or at least that’s how it shows up on my page. Please let me know if this is not the result of your plugin.
This, of course, doesn’t correspond with the Google guideline of having a numeric value, potentially followed by a seperate value and/or description.
Any way to incorporate a method to achieve the result from the example above?
- The topic ‘RecipeYield: Invalid Number’ is closed to new replies.