| 开发者 | websourcefr |
|---|---|
| 更新时间 | 2026年10月5日 19:06 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/customer-reviews/ by default. The slug is configurable.[wscrg_reviews] displays the list anywhere, with an optional limit attribute.AggregateRating block, computed from the stored reviews (average, review count, 1 to 5 bounds), is printed in the <head> of the reviews page.wscrg_get_aggregate_rating() is exposed so your theme or your SEO plugin can inject the same rating into its own Organization or LocalBusiness JSON-LD.Review or AggregateRating markup at product level.websource-customer-reviews-for-google folder to wp-content/plugins/, or install the plugin from the WordPress plugin directory./customer-reviews/, or the slug you chose, to see the public page.No. As long as no review is stored, no AggregateRating block is output and wscrg_get_aggregate_rating() returns null.
No. You copy the review text from your own Google listing and paste it into the plugin. No API key, no external request, no paid service.
In your functions.php or in your SEO plugin:
$rating = wscrg_get_aggregate_rating();
if ( $rating ) {
$organization_schema['aggregateRating'] = $rating;
}
The format of the text copied from Google is not a guaranteed standard. After an import, always read through the list in Customer Reviews > Reviews and correct or delete anything that was misread. That is exactly what the manual screen is for.
No. It is displayed without any Review or AggregateRating markup at product level, so it can never be mistaken for a review of that specific product.
Relative dates in English and in French, such as 3 months ago or il y a 3 mois. Reviews whose date is not recognised are still imported, with an empty date that you can fill in manually.