WPSSO AFS

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 Version1.1.1
Requires PHP7.2 or newer
Requires WordPress5.2 or newer
Tested Up To WordPress5.8.2
Tested Up To WooCommerce5.9.0
Contributorsjsmoriss
LicenseGPLv3
Tags / Keywordsgoogle, schema, rich snippet, stars, ratings, reviews, aggregate

Description

The WPSSO Add Five Stars add-on will include a 5 star rating and review from the site organization in the Schema markup if:

  1. The Schema markup for the document does not already have an 'aggregateRating' property.
  2. Google allows an 'aggregateRating' property for the document Schema type.

Google allows an 'aggregateRating' property only 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 and review cannot be added, as doing so would trigger an error in the Google search console.

WPSSO Add Five Stars Should be 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 will include 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 Premium plugin supports a number of third-party plugins and remote service APIs offering rating and review features:

Alternatively, if your site already uses the built-in WordPress commenting system, the WPSSO Ratings and Reviews add-on can be used to extend the WordPress comment system with rating and review features.

WPSSO Core Required

WPSSO Add Five Stars (WPSSO AFS) is an add-on for the WPSSO Core plugin.

Installation

Install and Uninstall

Frequently Asked Questions