• Resolved padylee

    (@padylee)


    Is there a way to include the rating stars of “Site Reviews” in my recipe?
    I need to add them to “@type”: “Recipe”. They are by default but in the type product.

Viewing 1 replies (of 1 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    You can set a custom schema type (i.e. Recipe) in the Site Reviews settings, after that, you can use the “site-reviews/schema/Recipe” filter hook, as explained on the FAQ Help page, to add an @id property.

    If multiple schemas share the same @id property, search engines will see them as linked.

    For example:

    add_filter('site-reviews/schema/Recipe', function ($schema) {
        $schema['@id'] = '#recipe'; // change this to match the @id property of your other schema
        return $schema;
    });
Viewing 1 replies (of 1 total)
  • The topic ‘AggregateRating from Site Review to Recipe’ is closed to new replies.