There are several ways to add aggregate ratings — as I’ll explain below — but first, before we dive into the “How”, let’s talk about what an “aggregate rating” actually is. ;-) The Schema.org website defines the Schema aggregateRating property value as:
The overall rating, based on a collection of reviews or ratings, of the item.
Two things to keep in mind about this:
- An aggregate rating value is calculated from several customer ratings / reviews for the current webpage content (an e-commerce product review, for example).
- Google prefers — and often double-checks — that Schema markup reflects the current content of the webpage. So, if you want to manually set aggregate rating and/or review values in your Schema markup, make sure that these customer ratings and/or reviews also appear in your webpage content (ie. the ratings and reviews are visible).
NextGEN Facebook (NGFB) version 8.15.0 and WordPress Social Sharing Optimization (WPSSO) version 3.15.0 have been released.
A new “Use Meta Property Container(s)” option has been added to the Google / Schema settings tab to include additional schema properties in webpage headers (product ratings, for example). Support for WooCommerce and Yotpo Social Reviews for WooCommerce product ratings has also been added.
To take full advantage of this new Schema markup, make sure your “<head> Attributes Filter Hook” option under the Theme Integration tab is set correctly. If your theme does not offer a filter hook for the <head> element attributes, consider adding a call to the wpsso_schema_attributes() function in your theme’s header.php template instead (or ngfb_schema_attributes() if you use the NGFB plugin). Example:
<head <?php wpsso_schema_attributes(); ?>>
Leave the “<head> Attributes Filter Hook” option value empty if you add this function to your template.