Linux 软件免费装
Banner图

Review Count & Star Rating

开发者 shahzaibhassan
更新时间 2026年9月8日 12:25
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

reviews rating star-rating review-count google-reviews

下载

1.0.0 1.0.1 1.0.2

详情介绍:

If your rating and review count are typed into a dozen pages, they are wrong the moment the count changes. Review Count & Star Rating gives you one place to set them, and every page that uses a shortcode or the block updates together. It works with any review platform. Add as many sources as you like, one per platform or one per branch, and each keeps its own figures. Typing the figures in is a first class way to use this plugin. Most review platforms publish no free way to read a business score automatically, so a plugin that insists on an API simply cannot support them. Here, entering the numbers by hand is the normal path, and automatic syncing is an option on the platforms that offer it. What you get Built so the numbers stay right Shortcodes Add source="key" to any of these to name a source. Without it, the default source is used. WP-CLI wp rvnum list wp rvnum sync wp rvnum sync --source=google wp rvnum set google --rating=4.9 --count=231

安装:

  1. Upload the plugin to /wp-content/plugins/bpers-review-count-and-rating, or install it from the Plugins screen.
  2. Activate it.
  3. Open Review Count & Star Rating in the sidebar.
  4. Enter your rating and review count, and save.
  5. Put a shortcode or the block wherever the figures should appear.

屏幕截图:

  • A source opened for editing. Type the figures in, or connect the platform and let them arrive on their own.
  • A fetched figure held back for a decision because the review count dropped, instead of quietly replacing a real number with a wrong one.
  • Display and sync: which source the shortcodes fall back to, how the figures are protected, and when to be emailed.
  • Every shortcode with its live output, a copy button, and a picker for which source to preview.
  • What a visitor sees. Part filled stars are drawn to the real score, and a ten point platform stays out of ten.

升级注意事项:

1.0.2 Sidebar entry shortened to Review Stars and given its own icon. Settings and figures are untouched. 1.0.1 Now called Review Count & Star Rating — look for that in the sidebar. Smaller star markup on the front end. Your settings and figures are untouched. 1.0.0 Initial release.

常见问题:

Do I need a Google API key?

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.

Which platforms can sync automatically?

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.

I changed the number but the page still shows the old one.

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.

My figures stopped updating.

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.

Can I show reviews from several platforms added together?

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.

Does this add review schema for search results?

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.

Can I add a platform that is not in the list?

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.

更新日志:

1.0.2 1.0.1 1.0.0