#is it possible to display a star rating in the site's search results?
2 messages · Page 1 of 1 (latest)
Yes, this is possible using a JSON-LD schema. This blog post seems like a good resource for explaining how to setup a rating schema: https://www.matthewedgar.net/review-rating-schema/
You can use this trick/pattern to add a schema to a <script> tag: ```jsx
<script
type="application/ld+json"
set:html={JSON.stringify({
"@context": "http://schema.org",
...
})}
/>