WP Manifestindependent plugin directory
manifest / seo / product-review-schema-for-yoast-seo

Product Review Schema for Yoast SEO

Adds additional schema data to articles you've marked as product reviews. Requires Yoast SEO

by Bill Erickson · github.com/billerickson/product-review-schema-for-yoast-seo

11stars
3forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/billerickson/product-review-schema-for-yoast-seo/archive/refs/heads/master.zip

Readme

Product Review Schema for Yoast SEO

Yoast SEO uses the Article schema type for all posts. This plugin adds a "Product Review" metabox for marking this as a review and specifying the review information (product name, rating, summary...).

For more information, see: https://www.billerickson.net/product-review-schema-for-yoast-seo/

Screenshots

screenshot Screenshot from Google Structured Data Testing tool showing Review schema being used on this post

screenshot Product Review metabox appears below the content editor

Filters

  • be_product_review_schema_post_types - Customize which post types can appear as reviews. Default is array( 'post' )
  • be_product_review_schema_metabox - Whether or not the Product Review metabox should be added. You could build your own custom metabox with the same meta keys, and disable this one using add_filter( 'be_product_review_schema_metabox', '__return_false' )
  • be_review_schema_data - Customize the schema data added for reviews

Read the full README on GitHub →