Add Schema aggregateRating Meta Tags

NGFB Pro includes support for product ratings from WooCommerce and Yotpo for WooCommerce. If you would like to add product ratings from other sources, you can hook the ‘ngfb_og’ filter. Here’s an example that retrieves the “average_review” and “count_review” custom fields (aka post meta).

For the aggregateRating markup to show-up, make sure the “Meta Property Containers” option is enabled under the General Settings > Specific Websites and Publishers > Google / Schema tab — and clear the cache so the meta tags markup can be refreshed. ;-)

What are Meta Property Containers?

Using meta tags for Schema markup only allows for simple one-dimensional markup. The “Meta Property Containers” option allows for the addition of a second dimension: