Edit File by line
/home/barbar84/www/wp-conte.../plugins/wordpres.../src/schema-t...
File: recipe.schema.php
<?php // phpcs:ignore Internal.NoCodeFound ?>
[0] Fix | Delete
{{schema name="yoast/recipe"}}
[1] Fix | Delete
{
[2] Fix | Delete
"@type": "Recipe",
[3] Fix | Delete
"@id": "{{block-id}}",
[4] Fix | Delete
"mainEntityOfPage": {
[5] Fix | Delete
"@id": "%%main_schema_id%%"
[6] Fix | Delete
},
[7] Fix | Delete
"image": {{inner-blocks-id allowed-blocks=[ "core/image" ] only-first=true null-when-empty=true }},
[8] Fix | Delete
"name": {{inner-blocks-html blocks={ "yoast/recipe-name": "name" } null-when-empty=true allowed-tags=[ "h1","h2","h3","h4","h5","h6","br","a","p","b","strong","i","em", "ul", "ol", "li" ] }},
[9] Fix | Delete
"author": {
[10] Fix | Delete
"@id": "%%author_id%%"
[11] Fix | Delete
},
[12] Fix | Delete
"description": {{inner-blocks-html blocks={ "yoast/recipe-description": "description" } null-when-empty=true allowed-tags=[ "h1","h2","h3","h4","h5","h6","br","a","p","b","strong","i","em" ] }},
[13] Fix | Delete
"cookTime": {{inner-blocks allowed-blocks=[ "yoast/cooking-time" ] only-first=true }},
[14] Fix | Delete
"prepTime": {{inner-blocks allowed-blocks=[ "yoast/preparation-time" ] only-first=true }},
[15] Fix | Delete
"recipeInstructions": {{inner-blocks allowed-blocks=[ "yoast/recipe-instructions" ] only-first=true }},
[16] Fix | Delete
"recipeIngredient": {{inner-blocks allowed-blocks=[ "yoast/recipe-ingredients" ] only-first=true }},
[17] Fix | Delete
"recipeYield": {{attribute name="yield" }}
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function