• Resolved rabit101

    (@rabit101)


    Hi,

    the file under cooked plugin cooked/includes/class.cooked-seo.php have some issues

    1. ‘recipeYield’ => ( isset($recipe[‘nutrition’][‘serving_size’]) && $recipe[‘nutrition’][‘serving_size’] ? $recipe[‘nutrition’][‘serving_size’] : ” ),

    Should be to this

    ‘recipeYield’ => ( isset($recipe[‘nutrition’][‘servings’]) && $recipe[‘nutrition’][‘servings’] ? $recipe[‘nutrition’][‘servings’] : ” ),

    recipeYield should be servings not serving size

    2. you’re missing a totalTime markup.

    $prep_time = ( isset($recipe[‘prep_time’]) ? esc_html( $recipe[‘prep_time’] ) : 0 );
    $cook_time = ( isset($recipe[‘cook_time’]) ? esc_html( $recipe[‘cook_time’] ) : 0 );
    $total_time = $prep_time + $cook_time;

    ‘totalTime’ => $total_time ? Cooked_Measurements::time_format( $total_time,’iso’ ) : ”,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘google rich card issue’ is closed to new replies.