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 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