Added missing schema markup
Second attempt, fixed spacing of previous added values
This commit is contained in:
parent
0a24ea44ea
commit
816b3b3251
|
@ -304,10 +304,10 @@ class WC_Structured_Data {
|
|||
$markup['review'][] = array(
|
||||
'@type' => 'Review',
|
||||
'reviewRating' => array(
|
||||
'@type' => 'Rating',
|
||||
'bestRating' => '5',
|
||||
'ratingValue' => get_comment_meta( $comment->comment_ID, 'rating', true ),
|
||||
'worstRating' => '1',
|
||||
'@type' => 'Rating',
|
||||
'bestRating' => '5',
|
||||
'ratingValue' => get_comment_meta( $comment->comment_ID, 'rating', true ),
|
||||
'worstRating' => '1',
|
||||
),
|
||||
'author' => array(
|
||||
'@type' => 'Person',
|
||||
|
|
Loading…
Reference in New Issue