WPSSO Schema Shortcode

View the Project on GitHub SurniaUlula/wpsso-add-five-stars

WPSSO Add Five Stars for Google Rich Snippets

Plugin NameWPSSO Add Five Stars
SummaryAdd a 5 star rating and review from the site organization if the Schema markup does not already have an 'aggregateRating' property.
Stable Version2.0.0
Requires PHP7.2.34 or newer
Requires WordPress5.8 or newer
Tested Up To WordPress6.4.2
Tags / Keywordsgoogle, schema, rich snippet, stars, ratings, reviews, aggregate


Includes a 5 Star Rating in Schema markup:

  1. If the Schema markup does not have an 'aggregateRating' property.
  2. If Google allows an 'aggregateRating' property for that Schema type.

Google allows an 'aggregateRating' property for these Schema types and their sub-types:

If the Schema type in the Document SSO metabox is not one of these types (or one of their sub-types), then a 5 star rating cannot be added, as doing so would trigger an error in the Google search console. See Google's Review snippet documentation for additional information.

WPSSO Add Five Stars is a Fallback Solution

The Google's Review Snippet technical guidelines reminds us to:

Make sure the reviews and ratings you mark up are readily available to users from the marked-up page. It must be immediately obvious to users that the page has review content.

The WPSSO Add Five Stars add-on includes a 5 star rating if the document Schema markup does not already have an 'aggregateRating' property. It is always preferable to include actual ratings and reviews from your visitors and/or customers in the webpage. The WPSSO Add Five Stars add-on can be used in combination with any of the following third-party plugins and service APIs, or the WPSSO Ratings and Reviews add-on.

Suggested Rating and Review Plugins and Services:

The WPSSO Core plugin supports a selection of plugins that provide ratings and reviews:

The WPSSO Core Premium plugin also supports a selection of remote service APIs that provide ratings and reviews:

WPSSO Core Required

WPSSO Add Five Stars (WPSSO AFS) is an add-on for the WPSSO Core plugin, which provides complete structured data for WordPress to present your content at its best on social sites and in search results – no matter how URLs are shared, reshared, messaged, posted, embedded, or crawled.


Install and Uninstall