Connect Site Review to Rank Math
-
We use Site Review and have Rank Math installed. Recipes are published on our site. We would like to link Page Review to Rank Math so that the schema data is passed from Site Review to Rank Math. Is there a way to control this via functions.php instead of the @id’s?
like for example like this
/* AggregateRating */
add_filter( ‘rank_math/snippet/rich_snippet_recipe_entity’, function( $entity ) {
$entity[‘aggregateRating’] = [
‘@type’ => ‘AggregateRating’,
‘ratingValue’ => ???
‘bestRating’ => ‘5’,
‘worstRating’ => ‘1’,
‘ratingCount’ => ???
];
return $entity;
});The page I need help with: [log in to see the link]
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Connect Site Review to Rank Math’ is closed to new replies.