Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/billerickson/product-review-schema-for-yoast-seo/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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 from Google Structured Data Testing tool showing Review schema being used on this post
Product Review metabox appears below the content editor
Filters
be_product_review_schema_post_types- Customize which post types can appear as reviews. Default isarray( '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 usingadd_filter( 'be_product_review_schema_metabox', '__return_false' )be_review_schema_data- Customize the schema data added for reviews