| 开发者 | shahzaibhassan |
|---|---|
| 更新时间 | 2026年9月8日 12:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
source="key" to any of these to name a source. Without it, the default source is used.
[rvnum_rating] the rating on its own[rvnum_count] the exact review count[rvnum_count_rounded step="25"] the count rounded down, never up[rvnum_stars] stars, including part filled ones[rvnum_badge] name, rating, stars and count together[rvnum_link text="Read our reviews"] a link to your review page[rvnum_label] the platform name[rvnum_total] every source added together[rvnum_average] every source averaged, weighted by review count/wp-content/plugins/bpers-review-count-and-rating, or install it from the Plugins screen.No. Typing the figures in is the default and works for every platform. The API key is only needed if you want a Google source to update itself once a day.
Google, through the Places API. Every other platform in the list is there for figures you enter yourself, because they either publish no public API for a business's own aggregate score or put one behind a paid plan. The plugin says so on screen rather than offering a setting that cannot work.
That is a page cache. The plugin clears the caches of the common caching plugins automatically, and you can turn that off under Display and sync. If your cache is somewhere else, such as at your CDN, hook the rvnum_values_changed action to clear it.
Automatic syncing rides on WP-Cron, which only fires when someone visits the site and is disabled outright on some hosts. Check Tools, then Site Health, where this plugin reports how long each source has gone without a sync. On a server where you can schedule commands, wp rvnum sync is more reliable.
Yes. [rvnum_total] adds up every source's review count, and [rvnum_average] averages the ratings weighted by how many reviews each has. Platforms scoring out of ten are converted before averaging.
No, deliberately. Google does not show review rich results for a business marking up reviews about itself, and doing it anyway carries a risk of a manual action rather than a benefit. If you want that markup, add it with a dedicated schema plugin and decide knowingly.
Yes, two ways. Pick "Other platform" and set the name and scale yourself, or write a class against Rvnum_Provider_Interface and add it through the rvnum_providers filter.